-
Notifications
You must be signed in to change notification settings - Fork 11
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
Webparts failing to load when serving using multi-component bundles #115
Comments
Finally, I was able to reproduce the issue. It fails for SPFx 1.18, but works for SPFx 1.17 (I don't know why in the previous issue the error was for 1.17 as well). Will take a look what could be done here. |
Well, actually it's even more weird. If you add to a page the very first component from your "bundle" list, everything works just fine (in your sample, it's |
Could you install |
We also noticed the other weirdness when testing different workarounds. Anyway, the new version seems to have solved it! We've been testing some this morning and everything loads while fast-serving, no errors! Thanks! |
JFYI |
Perhaps related to #111.
We've recently tried moving our individually bundled webparts/components into a multi-component bundle, as described here.
Going from something like:
To:
Now, the components wont load with the same [Object object] error as in the linked issue, and in the console we see errors like the following:
This only happens when serving the project, deploying it as an .sppkg works as expected!
We're using pretty standard fast-serve settings:
config.json
webpack.extend.js
This is with SPFx 1.18, fast-serve
3.0.7
and fast-serve-helpers1.18.1
Edit: to mention that there are some externals (officeJs) part of the project as well, dunno if that could affect things.
The text was updated successfully, but these errors were encountered: