Skip to content

DevTools: Better Bundle Names for Dynamically Imported Modules #22115

Closed
@lunaruan

Description

@lunaruan

In the DevTools extension, webpack currently uses an automatically assigned ID as the chunk name for dynamically imported modules (ie. parseHookNames and associated code will get bundled into 6.js).

We've tried adding chunkFilename: '[name].js' to output in webpack.config.js and magic comments (ie./* webpackChunkName: "parseHookNames" */) to the dynamic import to fix, but neither works.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions