refactor:update package.json

This commit is contained in:
Pan
2017-10-31 15:55:59 +08:00
parent d56831679e
commit 3666148ddc
4 changed files with 58 additions and 49 deletions

View File

@@ -30,6 +30,7 @@ var webpackConfig = merge(baseWebpackConfig, {
publicPath: config.build.assetsPublicPath
},
plugins: [
new webpack.optimize.ModuleConcatenationPlugin(),
// http://vuejs.github.io/vue-loader/en/workflow/production.html
new webpack.DefinePlugin({
'process.env': env
@@ -38,7 +39,8 @@ var webpackConfig = merge(baseWebpackConfig, {
compress: {
warnings: false
},
sourceMap: true
sourceMap: true,
parallel: true
}),
// extract css into its own file
new ExtractTextPlugin({