From d7e3a0eb6a874c680c10d4d6917a816a68d849c2 Mon Sep 17 00:00:00 2001 From: gaoshiyao Date: Tue, 22 Sep 2020 10:26:18 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0gzip=E5=8E=8B=E7=BC=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/index.js b/config/index.js index a48b218..f9159cb 100644 --- a/config/index.js +++ b/config/index.js @@ -77,7 +77,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 -- 2.26.0