Fix bad regex (by removing it)
This commit is contained in:
parent
135136a3f1
commit
b62066b5a4
1 changed files with 0 additions and 9 deletions
|
|
@ -105,15 +105,6 @@ module.exports = (env, argv) => ({
|
||||||
{
|
{
|
||||||
test: /\.ts$/,
|
test: /\.ts$/,
|
||||||
use: [
|
use: [
|
||||||
argv.mode === 'production'
|
|
||||||
? {
|
|
||||||
loader: 'string-replace-loader',
|
|
||||||
options: {
|
|
||||||
search: /(['">])\s+([<'"])/gs,
|
|
||||||
replace: '$1$2',
|
|
||||||
},
|
|
||||||
}
|
|
||||||
: null,
|
|
||||||
argv.mode === 'production'
|
argv.mode === 'production'
|
||||||
? {
|
? {
|
||||||
// for removing whitespace (mainly from template strings) which are not part of comments
|
// for removing whitespace (mainly from template strings) which are not part of comments
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue