Browse Source

Remove unused loader in webpack

JC Brand 3 years ago
parent
commit
571cb3bac1
1 changed files with 1 additions and 3 deletions
  1. 1 3
      webpack.common.js

+ 1 - 3
webpack.common.js

@@ -3,6 +3,7 @@ const path = require('path');
 
 
 let bootstrap_ignore_modules = ['carousel', 'scrollspy', 'tooltip', 'toast'];
 let bootstrap_ignore_modules = ['carousel', 'scrollspy', 'tooltip', 'toast'];
 
 
+
 const BOOTSTRAP_IGNORE_MODULES = (process.env.BOOTSTRAP_IGNORE_MODULES || '').replace(/ /g, '').trim();
 const BOOTSTRAP_IGNORE_MODULES = (process.env.BOOTSTRAP_IGNORE_MODULES || '').replace(/ /g, '').trim();
 if (BOOTSTRAP_IGNORE_MODULES.length > 0) {
 if (BOOTSTRAP_IGNORE_MODULES.length > 0) {
     bootstrap_ignore_modules = bootstrap_ignore_modules.concat(BOOTSTRAP_IGNORE_MODULES.split(','));
     bootstrap_ignore_modules = bootstrap_ignore_modules.concat(BOOTSTRAP_IGNORE_MODULES.split(','));
@@ -23,9 +24,6 @@ module.exports = {
     module: {
     module: {
         rules: [
         rules: [
         {
         {
-            test: path.resolve(__dirname, "node_modules/xss/dist/xss"),
-            use: "exports-loader?filterXSS"
-        }, {
             test: /LC_MESSAGES\/converse.po$/,
             test: /LC_MESSAGES\/converse.po$/,
             type: "json",
             type: "json",
             use: [
             use: [