Skip to content

Commit 8a7c2e5

Browse files
baspeeterstrueadm
authored andcommitted
Remove duplicate character in regex group (#16572)
1 parent 557d472 commit 8a7c2e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/rollup/build.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ function getPlugins(
351351
// Remove 'use strict' from individual source files.
352352
{
353353
transform(source) {
354-
return source.replace(/['"]use strict['"']/g, '');
354+
return source.replace(/['"]use strict["']/g, '');
355355
},
356356
},
357357
// Turn __DEV__ and process.env checks into constants.

0 commit comments

Comments
 (0)