Skip to content

Improve chunk names in dev mode #2046

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

react-scripts@0.10.0-alpha.328cb32e

Activity

  1. added a commit that references this issue on Apr 30, 2017
    3e612c7
  2. added a commit that references this issue on May 1, 2017
    3fac036
  3. added a commit that references this issue on May 5, 2017
    a4b88ed
  4. added a commit that references this issue on Jul 10, 2017
    b1bc3b0
  5. added a commit that references this issue on Aug 2, 2017
    6f3e256
  6. locked and limited conversation to collaborators on Jan 22, 2019
  7. added a commit that references this issue on Oct 8, 2024
    03b6680
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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