You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
doublemarked
changed the title
Chunk names are not respected under --target lib
Chunk names are not respected under --target lib
May 9, 2018
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
webpackChunkName
settings during import in index.jsWhat 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
.The text was updated successfully, but these errors were encountered: