Package Exports
- clean-webpack-plugin
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (clean-webpack-plugin) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Clean for webpack
A webpack plugin to remove/clean your build folder(s) before building
Installation
npm i clean-webpack-plugin --save
Example Webpack Config
var Clean = require('clean-webpack-plugin');
module.exports = {
plugins: [
new Clean(['dist', 'build'])
]
}
Parameters
new Clean(paths [, context])
paths
- An array of string paths to cleancontext
- The path root. By default useswebpack.config.js
as root (optional)