-
-
Notifications
You must be signed in to change notification settings - Fork 915
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
Is this a solution for Vite ESM? #1194
Comments
You can use my plugin https://github.com/MilanKovacic/vite-plugin-externalize-dependencies which is a bit more robust and flexible. |
@MilanKovacic I tried to use your plugin, but I had errors |
It is hard to help without knowing the specific error you encountered. You can try https://github.com/WJSoftware/vite-plugin-single-spa. Vite setup requires more involvement compared to webpack where you can use create-single-spa. |
This issue is being closed due to inactivity. If the problem persists or if you have further insights, please do not hesitate to open a new issue. |
If we try to use es-module-shims in the root HTML and then ignore static imports with this solution, then the esm modules will work fine. What do you think about this?
The text was updated successfully, but these errors were encountered: