Piral CLI Parcel is a plugin designed to integrate Parcel Bundler (specifically Parcel v1) into the Piral CLI ecosystem. It enables developers to use Parcel for bundling both Piral instances and individual pilets, simplifying the build and debug processes. The current stable version is v1.1.0, with ongoing active development and recent updates including a move to a dedicated repository. This plugin eliminates the need for manual Parcel installation or configuration, providing a 'batteries included' approach by bundling essential Parcel plugins such as `parcel-plugin-at-alias`, `parcel-plugin-codegen`, `parcel-plugin-externals`, and `parcel-plugin-import-maps`. While it offers a streamlined development experience for Piral projects using Parcel v1, users should be aware of its reliance on the older Parcel version, which has different features and behavior compared to Parcel v2. Its primary differentiator is seamless integration with `piral-cli`, offering an alternative bundling solution alongside other options like Webpack or ESBuild within the Piral framework.
npm install piral-cli-parcelNo compatibility data collected yet for this library.
This script demonstrates installing `piral-cli-parcel` into a new Piral instance project and verifies that Piral CLI commands like `piral build` now utilize Parcel v1 as the underlying bundler.
If Parcel v2 or another bundler is required, consider using `piral-cli-webpack` or `piral-cli-esbuild` with custom configurations.
Always install `piral-cli-parcel` in the `devDependencies` of your Piral or pilet project's `package.json`.
Ensure you are installing `piral-cli-parcel` via npm and not relying on any direct file paths from a previous monorepo setup.
Run `npm install piral-cli-parcel --save-dev` in the root of your Piral instance or pilet project to install the Parcel bundler plugin.
Ensure 'some-external-package' is correctly listed in your `package.json` `dependencies` (for the Piral instance or pilet). If it's a shared Pilet external, verify it's correctly declared and provided by the Piral instance. For complex resolution issues, review Parcel v1's documentation regarding externals or consider explicit aliases.