refactor:update package.json
This commit is contained in:
@@ -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({
|
||||
|
Reference in New Issue
Block a user