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