-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Closed
Description
Version
3.0.0-beta.9
Reproduction link
https://github.com/doublemarked/vue-libconf-issues
Steps to reproduce
git clone https://github.com/doublemarked/vue-libconf-issues.git
npm install && npm run build
- Observe filenames in dist/ are using chunk ids, not names, despite
webpackChunkName
settings during import in index.js
What is expected?
Application of webpackChunkName: "name"
during import should influence output filenames.
What is actually happening?
Chunks are grouped based on webpackChunkName
but filenames use chunk ids (numbers).
Recent PR #1173 made it possible to specify chunk names for app builds, but this configuration is clobbered by the lib build configuration. These settings should also be applied when building with --target lib
.
Metadata
Metadata
Assignees
Labels
No labels