Select Bundler to Use via CLI #328
Labels
cli
Concerns the piral-cli application.
enhancement
New feature or request
parcel
Concerns the integration of the Parcel bundler in the CLI.
webpack
Concerns the integration of the Webpack bundler in the CLI.
Milestone
Description
In case of multiple installed bundlers (or if none is installed it) the bundler should (or needs to be) selected via a new CLI option called
--bundler
.Usually, this option should not be required, as there is just one bundler installed.
Background
In case of multiple installed bundlers some bundler is auto-selected (usually the first one found in
node_modules
). This is not desired - it should be more predictable.Discussion
Should the option be required in case of multiple bundlers? Should the option actually try to install the selected bundler (if any) if none found (e.g., if
--bundler webpack
, but onlypiral-cli-parcel
is installed, shouldpiral-cli-webpack
be installed)?The text was updated successfully, but these errors were encountered: