Remove duplicate character in regex group (#16572)

This commit is contained in:
Bas Peeters
2019-08-29 14:49:27 +01:00
committed by Dominic Gannaway
parent 557d472fe3
commit 8a7c2e50f1
+1 -1
View File
@@ -351,7 +351,7 @@ function getPlugins(
// Remove 'use strict' from individual source files.
{
transform(source) {
return source.replace(/['"]use strict['"']/g, '');
return source.replace(/['"]use strict["']/g, '');
},
},
// Turn __DEV__ and process.env checks into constants.