[Bug]: webpackChunkName not used if name contains period
JohnDaly opened this issue · comments
John Daly commented
System Info
rspack
v0.6.3
Details
The magic comment in this example will be respected by Webpack, but not by rspack
import(/* webpackChunkName: "component.Mod" */ './mod');
See linked repro for full example
Reproduce link
https://github.com/JohnDaly/rspack-magic-comment-repro
Reproduce Steps
npm run dev
npm run build
- Notice that the assets generated by Webpack use the
webpackChunkName
. The assets generated byrspack
do not