From d49519a63fdbda593ce85c699a147f2d6d705f1b Mon Sep 17 00:00:00 2001 From: Thomas Beduneau Date: Tue, 4 May 2021 14:46:52 +0200 Subject: [PATCH] don't compress server files --- module.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module.js b/module.js index 18addb5..0a7a1f6 100644 --- a/module.js +++ b/module.js @@ -5,8 +5,8 @@ module.exports = compressionModule; module.exports.meta = require('./package.json'); function compressionModule() { - this.extendBuild((config, { isDev }) => { - if (isDev) { + this.extendBuild((config, { isDev, isServer }) => { + if (isDev || isServer) { return; }