Skip to content
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

[QUESTION] Improve example with externals shared deps #14

Open
ChristPetitjean opened this issue Apr 12, 2022 · 6 comments
Open

[QUESTION] Improve example with externals shared deps #14

ChristPetitjean opened this issue Apr 12, 2022 · 6 comments

Comments

@ChristPetitjean
Copy link

Hello,

Is it possible to improve the example to show how to configure VITE with external single-spa utility module ?
I can't get this to work.

Regards,

@Wifsimster
Copy link

Same things here ! Cannot get using a utility module (api) in a Vite.js single-spa application :(

@barbinbrad
Copy link

Same here. Would like to use a styleguide-type SystemJS import from the root config. Not sure how to go about it. I've tried rollup's external config, and vite external plugin, but none seems to work. Any advice you can give would be greatly apprecaited.

@cretumarius
Copy link

cretumarius commented Feb 8, 2023

Same here! It seems that with rollup external it works if I inject the bundled js but it's not working for local development. Already tried:

@eduardo-da-silva
Copy link

Anyone have success using vite + utility. I'm not able to use SystemJS. And by using module-shims, it seems that was not possible to import an utility function.

@Wifsimster
Copy link

I personaly switch to module federation. Imo, Single SPA is not production ready.

@builpro
Copy link

builpro commented Aug 3, 2023

@eduardo-da-silva same problems...😣

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants