File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -76,15 +76,15 @@ module.exports = {
76
76
* Source Maps
77
77
*/
78
78
79
- productionSourceMap : true ,
79
+ productionSourceMap : false ,
80
80
// https://webpack.js.org/configuration/devtool/#production
81
81
devtool : '#source-map' ,
82
82
83
83
// Gzip off by default as many popular static hosts such as
84
84
// Surge or Netlify already gzip all static assets for you.
85
85
// Before setting to `true`, make sure to:
86
86
// npm install --save-dev compression-webpack-plugin
87
- productionGzip : false ,
87
+ productionGzip : true ,
88
88
productionGzipExtensions : [ 'js' , 'css' ] ,
89
89
90
90
// Run the build command with an extra argument to
Original file line number Diff line number Diff line change 30
30
"babel-preset-env" : " ^1.3.2" ,
31
31
"babel-preset-stage-2" : " ^6.22.0" ,
32
32
"chalk" : " ^2.0.1" ,
33
+ "compression-webpack-plugin" : " ^1.1.3" ,
33
34
"copy-webpack-plugin" : " ^4.0.1" ,
34
35
"css-loader" : " ^0.28.0" ,
35
36
"eslint" : " ^3.19.0" ,
You can’t perform that action at this time.
0 commit comments