Skip to content

Improve chunk names in dev mode #2046

Closed
@jstcki

Description

@jstcki

Description

Names of dynamically imported chunks are weird in dev mode. E.g.

  • 1.static/js/bundle.js
  • 2.static/js/bundle.js

It's not a big deal but they all show up as bundle.js in Chrome's network inspector.

Production builds are fine

Expected behavior

The chunk names should be prepended to the file name.

  • static/js/1.bundle.js
  • static/js/2.bundle.js

Environment

[email protected]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions