From 6d42a3c049c6d82c822f767c7ff5966bd35ad215 Mon Sep 17 00:00:00 2001 From: Ade Viankakrisna Fadlil Date: Tue, 27 Jun 2017 20:05:15 +0700 Subject: [PATCH] turn on ascii_only for issue with emoji and regex (#2596) --- packages/react-scripts/config/webpack.config.prod.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/react-scripts/config/webpack.config.prod.js b/packages/react-scripts/config/webpack.config.prod.js index d7c8bfaea..c285cd59b 100644 --- a/packages/react-scripts/config/webpack.config.prod.js +++ b/packages/react-scripts/config/webpack.config.prod.js @@ -273,6 +273,9 @@ module.exports = { }, output: { comments: false, + // Turned on because emoji and regex is not minified properly using default + // https://github.com/facebookincubator/create-react-app/issues/2488 + ascii_only: true, }, sourceMap: true, }),