diff options
author | Determinant <ted.sybil@gmail.com> | 2019-02-10 01:48:32 -0500 |
---|---|---|
committer | Determinant <ted.sybil@gmail.com> | 2019-02-10 01:48:32 -0500 |
commit | bc097c38fa76563e7361b2193508a8ce13d73cae (patch) | |
tree | 9a73afaa5d83ba9d7c4564ebb8160064069575f0 /webpack.config.js | |
parent | e5729baa785c3a85d02d8315817e3a57f7c5fcb9 (diff) |
split chunks to reduce extension size
Diffstat (limited to 'webpack.config.js')
-rw-r--r-- | webpack.config.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/webpack.config.js b/webpack.config.js index a572650..39cb3a5 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -47,4 +47,9 @@ module.exports = (env, argv) => ({ } ]), ], + optimization: { + splitChunks: { + chunks: 'all' + } + } }); |