-
-
Notifications
You must be signed in to change notification settings - Fork 384
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
Error when doing SSR and webpack serve (webpack 5) #657
Comments
Hey @oreqizer 👋, |
Webpack 5 is not yet properly supported #636 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
any solutions ? @oreqizer |
it was fixed in the meantime @dmitryshelomanov |
🐛 Bug Report
When
webpack
(5.3.2
, works OK on4.x.x
) is run inserve
mode withwebpack-dev-server
, I get the following error:When I just build using
webpack --mode production
and run production server, all is OK.This is my
webpack
config (the rest is in@reactizer/webpack
but nothing really important, I tried adjusting all values without difference, the only difference isserve
):To Reproduce
Steps to reproduce the behavior:
Do a dev server using
webpack serve
, try having a component usingloadable(() => import("..."));
and render usingloadableReady(() => ...);
Expected behavior
The error should not happen and app should run.
Run
npx envinfo --system --binaries --npmPackages @loadable/component,@loadable/server,@loadable/webpack-plugin,@loadable/babel-plugin --markdown --clipboard
Paste the results here:
The text was updated successfully, but these errors were encountered: