Skip to content
This repository was archived by the owner on Jan 26, 2019. It is now read-only.

Commit 6d42a3c

Browse files
viankakrisnawmonk
authored andcommitted
turn on ascii_only for issue with emoji and regex (#2596)
1 parent d69e441 commit 6d42a3c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/react-scripts/config/webpack.config.prod.js

+3
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,9 @@ module.exports = {
273273
},
274274
output: {
275275
comments: false,
276+
// Turned on because emoji and regex is not minified properly using default
277+
// https://github.com/facebookincubator/create-react-app/issues/2488
278+
ascii_only: true,
276279
},
277280
sourceMap: true,
278281
}),

0 commit comments

Comments
 (0)