From b4903fe72566cabb3891cf1e57d2ea2efb5bd209 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E8=A3=95=E8=B4=A2?= Date: Fri, 3 Jun 2022 04:10:06 +0800 Subject: [PATCH] gzi --- config/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/index.js b/config/index.js index 0a923fb3..93f12903 100644 --- a/config/index.js +++ b/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