Skip to content

Commit

Permalink
Remove duplicate character in regex group (#16572)
Browse files Browse the repository at this point in the history
  • Loading branch information
baspeeters authored and trueadm committed Aug 29, 2019
1 parent 557d472 commit 8a7c2e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/rollup/build.js
Expand Up @@ -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.
Expand Down

0 comments on commit 8a7c2e5

Please sign in to comment.