webpack-remove-assets

1.0.3 • Public • Published

Desc

A webpack plugin that removes assets after build stage and before files are actually emitted

Install

npm install --save-dev webpack-remove-assets

Usage

// webpack.config.js
var RemoveAssetsPlugin = require('webpack-remove-assets');
 
module.exports = {
  // ... snip ...
  plugins: [
        new RemoveAssetsPlugin(['folder/','folder/file.js']);
  ],
  // ... snip ...
}

Readme

Keywords

none

Package Sidebar

Install

npm i webpack-remove-assets

Weekly Downloads

4

Version

1.0.3

License

ISC

Unpacked Size

2.28 kB

Total Files

6

Last publish

Collaborators

  • michaelxiaohan