module.id is incremented when add a new page
See original GitHub issueVersion
3.0.0-rc.5
Reproduction link
https://github.com/PanJiaChen/chunk-test
Steps to reproduce
- npm install
- add a new router (Don’t add at the end)
- npm run build
- 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.
Every time I add a new page, it may cause the cache of other pages to become invalid.
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Auto Increment for Custom Module ID's - Stack Overflow
Yes, the system should automatically generate the ID. I'd try to create the custom class again, maybe something went wrong during the setup....
Read more >create table with id auto increment when install module - Drupal
Hello every body, i am creating a module emailupdate. when install module i want to create table with id auto increment.
Read more >How do we auto increment our title and name fields?
So what I want to do is make the title and name for each child page an automatically incrementing number when you create...
Read more >How do you auto increment an "ID" field for every opportunity ...
We are trying to create a field in Opportunities that automatically assigns an auto-increment value to each new Opportunity. This is with an...
Read more >MySQL Tutorial :: 7.9 Using AUTO_INCREMENT
The AUTO_INCREMENT attribute can be used to generate a unique identity for new rows: CREATE TABLE animals ( id MEDIUMINT NOT NULL AUTO_INCREMENT, ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Before the official release of
webpack5
, I found thatNamedChunksPlugin
can be used to solve this problem.webpack
records
can solved this.