diff --git a/build/webpack.prod.conf.js b/build/webpack.prod.conf.js index c48a820..dcb4389 100644 --- a/build/webpack.prod.conf.js +++ b/build/webpack.prod.conf.js @@ -34,7 +34,7 @@ }), new webpack.ContextReplacementPlugin( /moment[/\\]locale$/, - /zh-cn/, + /zh-cn/ ), new UglifyJsPlugin({ uglifyOptions: { @@ -85,7 +85,7 @@ // split vendor js into its own file new webpack.optimize.CommonsChunkPlugin({ name: 'vendor', - minChunks (module) { + minChunks(module) { // any required modules inside node_modules are extracted to vendor return ( module.resource &&