Fix bad regex (by removing it)

This commit is contained in:
Andras Schmelczer 2022-09-27 19:22:44 +02:00
parent 135136a3f1
commit b62066b5a4
No known key found for this signature in database
GPG key ID: 0EA1BC97D0AB076E

View file

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