diff --git a/scripts/rollup/build.js b/scripts/rollup/build.js index 509cfa6e9eec8..af98240c927d7 100644 --- a/scripts/rollup/build.js +++ b/scripts/rollup/build.js @@ -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.