-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
ERR_REQUIRE_ESM building with ViteJS and vite-ssg #1625
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
Comments
can you please share exactly how you are importing? have you tried importing the ts directly? or are you using |
My only import from tauri api is |
Try this
|
|
I think vite only follows package.json > exports field :( I see that your vite is trying to load the
Maybe something isn't configured properly? |
Thank you! |
The text was updated successfully, but these errors were encountered: