clean-assets-webpack-plugin
v1.0.1
Published
Delete unused assets after every webpack build
Downloads
4
Readme
clean-assets-webpack-plugin
A webpack plugin that deletes all files not emitted by webpack in the output directory after every build.
Installation
npm install clean-assets-webpack-plugin --save-dev
Example Webpack Config
var CleanAssetsPlugin = require('clean-assets-webpack-plugin');
module.exports = {
plugins: [
new CleanAssetsPlugin()
]
}
Usage
new CleanAssetsPlugin()
License
http://www.opensource.org/licenses/mit-license.php