Skip to content

module.id is incremented when add a new page #1916

Closed
@PanJiaChen

Description

@PanJiaChen

Version

3.0.0-rc.5

Reproduction link

https://github.com/PanJiaChen/chunk-test

Steps to reproduce

  1. npm install
  2. add a new router (Don't add at the end)
  3. npm run build
  4. diff generated files

What is expected?

I only added one file, so the final result should not change other pages.xxx.js.

What is actually happening?

About.vue js file id has been changed. Caused the file moduleId behind it to change.

image

Every time I add a new page, it may cause the cache of other pages to become invalid.

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