Provides debug and build capabilities for pilets and Piral instances using Parcel Bundler.
npm install piral-cli-parcel
This plugin enables using Parcel as the bundler for Piral instances and pilets.
Use your favorite npm client for the installation:
``sh`
npm i piral-cli-parcel --save-dev
Note: The plugin has to be installed to tell the piral-cli to use Parcel v1 as the default bundler.
There is nothing to do. Standard commands such as piral build or pilet debug will now work with Parcel as the bundler.
This plugin comes with batteries included. You don't need to install or specify your Parcel version.
Right now it includes:
- parcel-plugin-at-aliasparcel-plugin-codegen
- parcel-plugin-externals
- parcel-plugin-import-maps`
-
As with standard Parcel customizations are either done by using the package.json or special config files (e.g., .babelrc).
Installed Parcel plugins are detected via the package.json.
Piral is released using the MIT license. For more information see the license file.