Remove unused loader in webpack

This commit is contained in:
JC Brand 2021-11-14 22:42:33 +01:00
parent 5dd0065936
commit 571cb3bac1

View File

@ -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: [