From 544c39e17d71e14d4154b2a3f7da424a46916eeb Mon Sep 17 00:00:00 2001 From: Bas Peeters Date: Mon, 26 Aug 2019 18:41:59 +0200 Subject: [PATCH] Remove duplicate character in regex group --- scripts/rollup/build.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.