From b62066b5a478fa2e58e76a2cd3fc39fa068f71b0 Mon Sep 17 00:00:00 2001 From: Andras Schmelczer Date: Tue, 27 Sep 2022 19:22:44 +0200 Subject: [PATCH] Fix bad regex (by removing it) --- webpack.config.js | 9 --------- 1 file changed, 9 deletions(-) diff --git a/webpack.config.js b/webpack.config.js index 0397f44..39bd764 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -105,15 +105,6 @@ module.exports = (env, argv) => ({ { test: /\.ts$/, use: [ - argv.mode === 'production' - ? { - loader: 'string-replace-loader', - options: { - search: /(['">])\s+([<'"])/gs, - replace: '$1$2', - }, - } - : null, argv.mode === 'production' ? { // for removing whitespace (mainly from template strings) which are not part of comments