-
-
Notifications
You must be signed in to change notification settings - Fork 43
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
Qwik: Vite is trying to externalize packages used in formAction$ #182
Labels
bug
Something isn't working
Comments
This is related to a missing feature or implementation in Qwik. I will link the related issue for you later. Also, I plan to add this feature to Qwik next month. |
Here is the issue: QwikDev/qwik#5160 |
You can try to wrap your code in |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When I try to build a production application, vite tries to externalize the "fs" package for the browser, but it shouldn't because "fs" is only used in the server-side function "formAction$". When I tried to do it in the native "routeAction$" function, everything worked as expected. This also occurs when using other node packages such as crypto, redis, etc.
Stackblitz project
The text was updated successfully, but these errors were encountered: