-
-
Notifications
You must be signed in to change notification settings - Fork 57
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
HookWebpackError: HMR is not implemented for module chunk format yet #425
Comments
See related webpack/webpack#17636 |
Fix released in [email protected] |
@joeldenning I appreciate the fix! To clarify, if I want to keep HMR, should I continue using SystemJS? |
Until webpack supports HMR for esm, yes
See create-single-spa/packages/webpack-config-single-spa/lib/webpack-config-single-spa.js Line 50 in 0278cdc
|
Hi, @joeldenning, it's me again! 😅
I'm following up with the build I mentioned in the #421 issue, but now I get a new issue.
I recreated the whole stack using
[email protected]
and everything went fine with thesingle-spa
stack, but now I'm facing a new error mentioned in this issue title:HookWebpackError: HMR is not implemented for module chunk format yet
I understand that it's a webpack related issue but the docs don't make it clear how can I proceed with it and developing with HMR will be a pain 😕
Should I get rid of the
single-spa/import-map-injector
and move toSystemJS
or there is any workaround to keep working with thelibraryTarget: 'module'
?The text was updated successfully, but these errors were encountered: