Skip to content

Cannot specify output chunk names #1167

@sanchitnevgi

Description

@sanchitnevgi

Version

3.0.0-beta.6

Reproduction link

sanchitgn/chunk

Steps to reproduce

  1. Specify a chunk using dynamic import syntax
  2. Add a chunk name import(/* webpackChunkName: "profile" */ "./views/Profile/Profile.vue")
  3. Build yarn run build

What is expected?

   File                                      Size             Gzipped

  dist/js/profile.e9349658.js               31.66 kb         5.56 kb

What is actually happening?

 File                                      Size             Gzipped

  dist/js/0.e9349658.js                     31.66 kb         5.56 kb

Sorry if this is has already been posted. Could not find a similar issue.
The other webpack comments (webpackMode) work fine

Possible duplicate #1097

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions