Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jpommerening/drop-chunk-assets-webpack-plugin
Drop chunk assets when all you need is file-loader output
https://github.com/jpommerening/drop-chunk-assets-webpack-plugin
Last synced: 24 days ago
JSON representation
Drop chunk assets when all you need is file-loader output
- Host: GitHub
- URL: https://github.com/jpommerening/drop-chunk-assets-webpack-plugin
- Owner: jpommerening
- Created: 2017-05-18T15:47:08.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-05-30T13:24:37.000Z (over 7 years ago)
- Last Synced: 2024-10-01T17:16:03.521Z (about 2 months ago)
- Language: JavaScript
- Size: 1000 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# drop-chunk-assets-webpack-plugin
> Drop the generated bundle if all you're interested in is (for example) file-loader output
## Usage
Example:
```js
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')
]
};
```