陈裕财 4 years ago
parent
commit
b4903fe725
  1. 2
      config/index.js

2
config/index.js

@ -112,7 +112,7 @@ module.exports = {
// Surge or Netlify already gzip all static assets for you.
// Before setting to `true`, make sure to:
// npm install --save-dev compression-webpack-plugin
productionGzip: false,
productionGzip: true,
productionGzipExtensions: ['js', 'css'],
// Run the build command with an extra argument to

Loading…
Cancel
Save