We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
HMR plugin works well, but doesn't work for files that were loaded in lazyload - chunks.
Is there any fix for this?
Thanks!
The text was updated successfully, but these errors were encountered:
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.
Sorry, something went wrong.
@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.
optimization.runtimeChunk = 'single'
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.
$injector.loadNewModules
No branches or pull requests
HMR plugin works well, but doesn't work for files that were loaded in lazyload - chunks.
Is there any fix for this?
Thanks!
The text was updated successfully, but these errors were encountered: