0.1.0 • Published 7 years ago

drop-chunk-assets-webpack-plugin v0.1.0

Weekly downloads
4
License
MIT
Repository
github
Last release
7 years ago

drop-chunk-assets-webpack-plugin

Drop the generated bundle if all you're interested in is (for example) file-loader output

Usage

Example:

const DropChunkAssetsPlugin = require( 'drop-chunk-assets-webpack-plugin' );

module.exports = {
  entry: {
    main: 'file-loader!img-loader!./cat.jpeg'
  },
  output: {
    filename: '[name].js'
  },
  plugins: [
    new DropChunkAssetsPlugin('main')
  ]
};