-
Notifications
You must be signed in to change notification settings - Fork 61
Update Supabase demo to warn about js-logger when running Vite
#267
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
Conversation
Prevent this issue: ``` Uncaught SyntaxError: The requested module 'http://localhost:3000/@fs/.../<repo>/node_modules/js-logger/src/logger.js?v=eb4a8b9e' doesn't provide an export named: 'default' ```
|
js-loggerjs-logger when running Vite
js-logger when running Vitejs-logger when running Vite
|
I had to include |
|
In my case, I didn't install it. |
Yeah well I mean phrasing |
|
What about now? |
|
So turns out you need to install js-logger and configure/apply it, alternatively you can have the include rule. I think we should just add the include rule everywhere for the moment. @guillempuche would you mind applying it to all the vite projects when you have a moment - since you already have this PR going :) ? |
|
@Chriztiaan, done. |
|
Looks like there is work being done on this here to resolve the underlying exclude issue. |
Prevent this issue:
Discussion started on Discord https://discord.com/channels/1138230179878154300/1272981660589363293