Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What about chunks? #17

Open
Taxi4you opened this issue Jul 22, 2019 · 3 comments
Open

What about chunks? #17

Taxi4you opened this issue Jul 22, 2019 · 3 comments

Comments

@Taxi4you
Copy link

HMR plugin works well, but doesn't work for files that were loaded in lazyload - chunks.

Is there any fix for this?

Thanks!

@noppa
Copy link
Owner

noppa commented Jul 25, 2019

What are you using to lazy load files? Webpack + ocLazyLoad? I can take a look at this but a repo with reproducible example would help a lot.

@nskazki
Copy link

nskazki commented Jan 29, 2020

@Taxi4you, if you run into an issue with dynamic module import (https://webpack.js.org/api/module-methods/#import-1) try optimization.runtimeChunk = 'single' as suggested here webpack/webpack#7829 - worked for me like a charm.

@AprilArcus
Copy link

What are you using to lazy load files? Webpack + ocLazyLoad? I can take a look at this but a repo with reproducible example would help a lot.

I'm using $injector.loadNewModules (https://docs.angularjs.org/api/auto/service/$injector#loadNewModules), in case you happen to still be interested in this project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants