Closed oreqizer closed 3 years ago
Hey @oreqizer :wave:, Thank you for opening an issue. We'll get back to you as soon as we can. Please, consider supporting us on Open Collective. We give a special attention to issues opened by backers. If you use Loadable at work, you can also ask your company to sponsor us :heart:.
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: