diff options
Diffstat (limited to 'vnext/webpack.config.js')
-rw-r--r-- | vnext/webpack.config.js | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/vnext/webpack.config.js b/vnext/webpack.config.js index de878586..7529c592 100644 --- a/vnext/webpack.config.js +++ b/vnext/webpack.config.js @@ -76,26 +76,26 @@ module.exports = { new OptimizeCSSAssetsPlugin({}) ], splitChunks: { - chunks: 'all', - minSize: 30000, - maxSize: 0, - minChunks: 1, - maxAsyncRequests: 5, - maxInitialRequests: 3, - automaticNameDelimiter: '~', - name: true, - cacheGroups: { - vendors: { - test: /[\\/]node_modules[\\/]/, - priority: -10 - }, - default: { - minChunks: 2, - priority: -20, - reuseExistingChunk: true + chunks: 'all', + minSize: 30000, + maxSize: 0, + minChunks: 1, + maxAsyncRequests: 5, + maxInitialRequests: 3, + automaticNameDelimiter: '~', + name: true, + cacheGroups: { + vendors: { + test: /[\\/]node_modules[\\/]/, + priority: -10 + }, + default: { + minChunks: 2, + priority: -20, + reuseExistingChunk: true + } + } } - } - } }, plugins: [ new webpack.IgnorePlugin(/^\.\/locale$/, /moment$/), |