diff --git a/lib/builder/webpack/client.js b/lib/builder/webpack/client.js index ee8fddacf8..0fd1a98083 100644 --- a/lib/builder/webpack/client.js +++ b/lib/builder/webpack/client.js @@ -99,7 +99,7 @@ export default class WebpackClientConfig extends WebpackBaseConfig { config.optimization.splitChunks.cacheGroups.commons === undefined ) { config.optimization.splitChunks.cacheGroups.commons = { - test: /node_modules\/(vue|vue-loader|vue-router|vuex|vue-meta|core-js|babel-runtime|es6-promise|axios|webpack|setimediate|timers-browserify|process|regenerator-runtime|cookie|js-cookie|is-buffer|dotprop|nuxt\.js)\//, + test: /node_modules\/(vue|vue-loader|vue-router|vuex|vue-meta|core-js|babel-runtime|es6-promise|axios|webpack|setimmediate|timers-browserify|process|regenerator-runtime|cookie|js-cookie|is-buffer|dotprop|nuxt\.js)\//, chunks: 'all', priority: 10, name: 'commons'