@gluons/vue-pack-splitchunks-plugin
A vue-pack plugin to customize webpack's splitChunks.
1,903
2
| Install | |
|---|---|
npm install @gluons/vue-pack-splitchunks-plugin |
|
| Latest Version: | 1.20.3 |
| Vue: | 2 |
| License: | MIT |
| Last Updated: | Aug 19, 2025 |
| Links: | GitHub · npm |
Maintainer: illuminator
vue-pack-splitchunks-plugin
A vue-pack plugin to customize webpack's splitChunks.
Installation
Require vue-pack.
npm install --save-dev @gluons/vue-pack
# or
yarn add --dev @gluons/vue-pack
Then install this plugin.
npm install --save-dev @gluons/vue-pack-splitchunks-plugin
# or
yarn add --dev @gluons/vue-pack-splitchunks-plugin
Usage
Add this plugin into vue-pack config.
vue-pack.config.js
const splitChunks = require('@gluons/vue-pack-splitchunks-plugin');
const options = {
// For all webpack's config
tapAll(splitChunks) {
// Do anything with `splitChunks`
return splitChunks;
},
// For individual webpack's config
tapCJS(splitChunks) {
// Do anything with `splitChunks`
return splitChunks;
},
tapESM(splitChunks) {
// Do anything with `splitChunks`
return splitChunks;
},
tapSSR(splitChunks) {
// Do anything with `splitChunks`
return splitChunks;
}
tapWeb(splitChunks) {
// Do anything with `splitChunks`
return splitChunks;
}
};
module.exports = {
plugins: [
splitChunks(options)
]
};
Related Packages
duplicate-dependencies-webpack-plugin
webpack plugin to find duplicated dependencies from your bundle
332,104
6
Version History
| Version | Released | License |
|---|---|---|
| 1.20.3 | MIT | |
| 1.20.2 | MIT | |
| 1.20.1 | MIT | |
| 1.20.0 | MIT | |
| 1.19.0 | MIT | |
| 1.18.1 | MIT | |
| 1.18.0 | MIT | |
| 1.17.0 | MIT | |
| 1.16.0 | MIT | |
| 1.15.0 | MIT | |
| 1.14.2 | MIT | |
| 1.14.1 | MIT | |
| 1.14.0 | MIT | |
| 1.13.0 | MIT | |
| 1.12.2 | MIT | |
| 1.12.0 | MIT | |
| 1.11.0 | MIT | |
| 1.10.0 | MIT | |
| 1.9.0 | MIT | |
| 1.8.2 | MIT | |
| 1.8.1 | MIT | |
| 1.8.0 | MIT | |
| 1.7.0 | MIT | |
| 1.6.0 | MIT | |
| 1.5.0 | MIT | |
| 1.4.0 | MIT | |
| 1.3.0 | MIT | |
| 1.2.7 | MIT | |
| 1.2.5 | MIT | |
| 1.2.1 | MIT |
Showing the latest 30 of 41. See every release on npm