Skip to content
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
@KatSick

Description

@KatSick

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

  1. npm ls react-scripts-ts (if you haven’t ejected): react-scripts-ts@2.2.0
  2. node -v: v6.11.0
  3. npm -v: 3.10.10

Then, specify:

  1. Operating system: Mac OS Sierra
  2. Browser and version: Chrome latest

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions