Created by: esturcke
Fix
This fixes bug #3048 (closed) and strips hashes from chunks correctly.
Testing
npm run create-react-app test-fix
cd test-fix
- Copied
src/App.js
andsrc/content.js
from cra-chunk-bundle-diff-bug repo yarn build
...
File sizes after gzip:
48.61 KB build/static/js/main.b6cc0832.js
288 B build/static/css/main.cacbacc7.css
177 B build/static/js/content.4f2061bf.chunk.js
...
- Edit
src/content.js
yarn build
...
File sizes after gzip:
48.61 KB (-1 B) build/static/js/main.b3f3c0af.js
288 B build/static/css/main.cacbacc7.css
180 B (+3 B) build/static/js/content.c58cbe0c.chunk.js
...