README
Piral Webpack Tools
This repository contains the packages used to enable Webpack support in Piral. We support multiple options.
Options
Using the Piral CLI
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.
Using Webpack Directly
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.
License
The code here is released using the MIT license. For more information see the LICENSE file.