🤸🔌 webpack-split-plugin
split bundle into multiple pieces with custom specifications (currently hard coded as 1/2 the size)
extension of CommonsChunkPlugin
📦 install
yarn add webpack-split-plugin --devnpm i webpack-split-plugin --save-dev
const WebpackSplitPlugin =
📘 example
plugins: // * required name: 'eh' filename: '[name]-split.js' // [optional], very verbose output debug: true // [optional], automatically figures it out after first run totalSize: '1937kb' // 1.937mb
🔗 resources
🔬 tests
🚧 work-in-progress
more coming soon with stability & customizability.