Closed
Description
The recent PR (https://github.com/facebookincubator/create-react-app/pull/2596/files) for switching on ascii_only
in uglify options grew our projects build size from 530 KB to 539 KB.
The reason for the 9 KB grow in size is that ascii_only doesn't seem to be a sophisticated filter, it basically converts loads of characters to unicode escape sequence. Those are not emojis but "normal" unicode characters outside the ascii range.
How to reproduce:
- add
import entities from 'entities'
to a new cra app - build size with ascii_only: 201 KB
- build size without ascii_only: 194 KB