Commit 1d9c552 1 parent cc7b3f7 commit 1d9c552 Copy full SHA for 1d9c552
File tree 3 files changed +281
-175
lines changed
3 files changed +281
-175
lines changed Original file line number Diff line number Diff line change 14
14
"dist" : " npm run mac && npm run linux && npm run win" ,
15
15
"mac" : " build --mac" ,
16
16
"linux" : " build --linux deb tar.xz" ,
17
- "win" : " build --win --ia32"
17
+ "win" : " build --win --ia32" ,
18
+ "stats" : " webpack-bundle-analyzer stats.json"
18
19
},
19
20
"build" : {
20
21
"appId" : " com.egoistian.eme" ,
74
75
"vue-style-loader" : " ^1.0.0" ,
75
76
"vue-template-compiler" : " ^2.1.8" ,
76
77
"webpack" : " ^1.14.0" ,
77
- "webpack-hot-middleware " : " ^2.12 .1" ,
78
- "webpack-visualizer-plugin " : " ^0.1.5 "
78
+ "webpack-bundle-analyzer " : " ^2.2 .1" ,
79
+ "webpack-hot-middleware " : " ^2.12.1 "
79
80
},
80
81
"dependencies" : {
81
82
"babel-runtime" : " ^6.11.6" ,
Original file line number Diff line number Diff line change 1
1
'use strict'
2
2
const webpack = require ( 'webpack' )
3
- const Visualizer = require ( 'webpack-visualizer-plugin' )
4
3
const config = require ( './webpack.config' )
5
4
6
5
config . plugins = config . plugins . concat ( [
@@ -14,9 +13,6 @@ config.plugins = config.plugins.concat([
14
13
new webpack . DefinePlugin ( {
15
14
'__DEV__' : false ,
16
15
'process.env.NODE_ENV' : JSON . stringify ( 'production' )
17
- } ) ,
18
- new Visualizer ( {
19
- filename : '../../stats.html'
20
16
} )
21
17
] )
22
18
You can’t perform that action at this time.
0 commit comments