mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-04-22 11:57:27 +08:00
turn on ascii_only for issue with emoji and regex (#2596)
This commit is contained in:
committed by
Dan Abramov
parent
7a0fb4c62b
commit
41f2013260
@@ -290,6 +290,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,
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user