Remove duplicate character in regex group (#16572)
Bas Peeters committed
Aug 29, 2019 at 15:49 UTC
8a7c2e50f1885d514686071f52ec98b68473cf8b
1 file changed
+1
-1
scripts/rollup/build.js
+1
-1
@@ -351,7 +351,7 @@ function getPlugins(
351
// Remove 'use strict' from individual source files.
352
{
353
transform(source) {
354
- return source.replace(/['"]use strict['"']/g, '');
354
+ return source.replace(/['"]use strict["']/g, '');
355
},
356
},
357
// Turn __DEV__ and process.env checks into constants.