This repository contains the packages used to enable Webpack support in Piral. We support multiple options.
The easiest option is to use the piral-cli
and install another dev dependency piral-cli-webpack
.
npm i piral-cli-webpack --save-dev
The existing build, debug, and publish commands will now just work with Webpack.
For details, see the plugin's README.
If you want to fully configure Webpack yourself you can just leverage either
npm i piral-instance-webpack-plugin --save-dev
for your Piral instance, or
npm i pilet-webpack-plugin --save-dev
for pilets.
There are also standalone plugins for things such as support for .codegen
files or using HTML as an entry module in Webpack.
The code here is released using the MIT license. For more information see the LICENSE file.