File tree Expand file tree Collapse file tree 4 files changed +2
-12
lines changed Expand file tree Collapse file tree 4 files changed +2
-12
lines changed Original file line number Diff line number Diff line change 11.DS_Store
22node_modules /
33npm-debug.log
4+ package-lock.json
Original file line number Diff line number Diff line change @@ -112,9 +112,4 @@ if (config.build.productionGzip) {
112112 )
113113}
114114
115- if ( config . build . bundleAnalyzerReport ) {
116- var BundleAnalyzerPlugin = require ( 'webpack-bundle-analyzer' ) . BundleAnalyzerPlugin
117- webpackConfig . plugins . push ( new BundleAnalyzerPlugin ( ) )
118- }
119-
120115module . exports = webpackConfig
Original file line number Diff line number Diff line change @@ -14,12 +14,7 @@ module.exports = {
1414 // Before setting to `true`, make sure to:
1515 // npm install --save-dev compression-webpack-plugin
1616 productionGzip : false ,
17- productionGzipExtensions : [ 'js' , 'css' ] ,
18- // Run the build command with an extra argument to
19- // View the bundle analyzer report after build finishes:
20- // `npm run build --report`
21- // Set to `true` or `false` to always turn it on or off
22- bundleAnalyzerReport : process . env . npm_config_report
17+ productionGzipExtensions : [ 'js' , 'css' ]
2318 } ,
2419 dev : {
2520 env : require ( './dev.env' ) ,
Original file line number Diff line number Diff line change 7373 "vue-style-loader" : " ^3.0.1" ,
7474 "vue-template-compiler" : " ^2.3.3" ,
7575 "webpack" : " ^2.6.1" ,
76- "webpack-bundle-analyzer" : " ^2.2.1" ,
7776 "webpack-dev-middleware" : " ^1.10.0" ,
7877 "webpack-hot-middleware" : " ^2.18.0" ,
7978 "webpack-merge" : " ^4.1.0"
You can’t perform that action at this time.
0 commit comments