This repository was archived by the owner on Jan 26, 2019. It is now read-only.
This repository was archived by the owner on Jan 26, 2019. It is now read-only.
Dynamic import not working #90
Closed
Description
Description
Dynamic import not split bundle into chunks.
Expected behavior
When using import('./component') inside some callback webpack should extract it to separate bundle.
Actual behavior
It always loads full bundle
Environment
npm ls react-scripts-ts
(if you haven’t ejected): react-scripts-ts@2.2.0node -v
: v6.11.0npm -v
: 3.10.10
Then, specify:
- Operating system: Mac OS Sierra
- Browser and version: Chrome latest