0.1.1 • Published 9 years ago
webpack-async-chunk-names-plugin v0.1.1
webpack-async-chunk-names-plugin
A webpack plugin for naming on-demand chunks generated by System.import() or import(). Atempts to guess the chunk
name by parsing the requested filename.
WIP, expect bugs and breaking changes. PR's welcome!
Installation
As a devDependency!
npm i webpack-async-chunk-names-plugin -Dyarn add webpack-async-chunk-names-plugin -DUsage
const AsyncChunkNames = require('webpack-async-chunk-names-plugin');
// webpack config
plugins: [
new AsyncChunkNames()
]Don't forget to set output.chunkFilename!