From 80efa3a14bc8cda4d5b3775f6f38ed39e1410d29 Mon Sep 17 00:00:00 2001 From: Steffi Antony <125690789+SteffiAntony@users.noreply.github.com> Date: Wed, 9 Oct 2024 18:57:51 +0530 Subject: [PATCH] Removed compression Plugin. (#273) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit DEFLATE Data Compression Algorithm Used for HTTPS which may be vulnerable to breach attack Defect: jazz07.rchland.ibm.com:13443/jazz/web/projects/CSSD#action=com.ibm.team.workitem.viewWorkItem&id=579318 Signed-off-by: Steffi Antony <“steffiantony196@gmail.com”> Co-authored-by: Steffi Antony <“steffiantony196@gmail.com”> --- vue.config.js | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/vue.config.js b/vue.config.js index 7274b1c42b..07d76b427b 100644 --- a/vue.config.js +++ b/vue.config.js @@ -1,5 +1,3 @@ -const CompressionPlugin = require('compression-webpack-plugin'); - module.exports = { css: { loaderOptions: { @@ -85,14 +83,6 @@ module.exports = { ] = `@/env/components/AppNavigation/${envName}.js`; } } - - if (process.env.NODE_ENV === 'production') { - config.plugins.push( - new CompressionPlugin({ - deleteOriginalAssets: true, - }) - ); - } }, pluginOptions: { i18n: {