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
Do you want to request a feature or report a bug?
A bug report.
What is the current behavior?
If a module (i.e: "entry-package.js") is importing another module via code splitting (i.e. import('module-b')) and webpack is watching for file changes and module-b is changed, webpack generates a new chunk with a new filename, but this new filename is not updated in the importing module.
If the current behavior is a bug, please provide the steps to reproduce.
Setup webpack with watch: true
create a module with the following content:
//module-b.jsexportdefault'foo';
create an entry package with the following content:
What is the expected behavior?
First it should output 'foo' after the change it should output the changed value. This happens because entry-package.js is not updated with the new chunk name.
If this is a feature request, what is motivation or use case for changing the behavior?
Please mention other relevant information such as the browser version, Node.js version, webpack version and Operating System.
The text was updated successfully, but these errors were encountered:
Do you want to request a feature or report a bug?
A bug report.
What is the current behavior?
If a module (i.e: "entry-package.js") is importing another module via code splitting (i.e.
import('module-b')
) and webpack is watching for file changes and module-b is changed, webpack generates a new chunk with a new filename, but this new filename is not updated in the importing module.If the current behavior is a bug, please provide the steps to reproduce.
watch: true
What is the expected behavior?
First it should output 'foo' after the change it should output the changed value. This happens because entry-package.js is not updated with the new chunk name.
If this is a feature request, what is motivation or use case for changing the behavior?
Please mention other relevant information such as the browser version, Node.js version, webpack version and Operating System.
The text was updated successfully, but these errors were encountered: