mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Remove duplicate character in regex group (#16572)
This commit is contained in:
committed by
Dominic Gannaway
parent
557d472fe3
commit
8a7c2e50f1
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user