From 8a7c2e50f1885d514686071f52ec98b68473cf8b Mon Sep 17 00:00:00 2001 From: Bas Peeters Date: Thu, 29 Aug 2019 15:49:27 +0200 Subject: [PATCH] Remove duplicate character in regex group (#16572) --- 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.