Module id not stable when compiling the same code in different folders
See original GitHub issueBug report
What is the current behavior?
This week we upgrade webpack from 5.33.2
to 5.50.0
. The module ids became unstable between builds produced from different CI instances.
If the current behavior is a bug, please provide the steps to reproduce.
- Clone https://github.com/randing89/github-brwfkb
- Execute
npm install && npm run build
in folder a and b - Observe webpack assigning different module ids to the same file
With webpack 5.50.0
With webpack 5.33.2
What is the expected behavior? Module id not change like the old version
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Maven multiple source directory module not working
This means that this POM does not have a normal build lifecycle, there's no code there. Move the build-helper-maven-plugin description from the parent...
Read more >Module path maps are not resolved in emitted code #10866
This solution hooks node's require() call, and resolves requests using the dirname of "main" to mimic baseUrl . It therefore assumes the baseUrl ......
Read more >Tutorial on writing makefiles
A simple makefile. Using variables; Pattern rules. Phony targets; Working with several directories. Template or boilerplate files; The -F compilation option.
Read more >Documentation - Module Resolution - TypeScript
Module resolution is the process the compiler uses to figure out what an import refers to. Consider an import statement like import {...
Read more >Files, Modules, and Programs - Real World OCaml
In this chapter, we'll show you how to build an OCaml program from a collection of files, as well as the basics of...
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 FreeTop 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
Top GitHub Comments
@alexander-akait Thanks! I also updated the ticket with the result of webpack 5.33.2
Thanks