From 571cb3bac1fb2b036700d5afe03b951900721a37 Mon Sep 17 00:00:00 2001 From: JC Brand Date: Sun, 14 Nov 2021 22:42:33 +0100 Subject: [PATCH] Remove unused loader in webpack --- webpack.common.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/webpack.common.js b/webpack.common.js index ab484666f..09adb1228 100644 --- a/webpack.common.js +++ b/webpack.common.js @@ -3,6 +3,7 @@ const path = require('path'); let bootstrap_ignore_modules = ['carousel', 'scrollspy', 'tooltip', 'toast']; + const BOOTSTRAP_IGNORE_MODULES = (process.env.BOOTSTRAP_IGNORE_MODULES || '').replace(/ /g, '').trim(); if (BOOTSTRAP_IGNORE_MODULES.length > 0) { bootstrap_ignore_modules = bootstrap_ignore_modules.concat(BOOTSTRAP_IGNORE_MODULES.split(',')); @@ -23,9 +24,6 @@ module.exports = { module: { rules: [ { - test: path.resolve(__dirname, "node_modules/xss/dist/xss"), - use: "exports-loader?filterXSS" - }, { test: /LC_MESSAGES\/converse.po$/, type: "json", use: [