-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
TypeError: Unknown file extension ".css" #19086
Comments
I cannot reproduce the same error about .css. I'm not sure why, but for starter, please provide a reproduction with Node instead of Bun. FYI, this is my log of
I tried Also FYI, you may try |
Hello @matagaralph. Please provide a minimal reproduction using a GitHub repository or StackBlitz. Issues marked with |
Okay let me do that today and try with Node although I'm sure the same error happened. |
I updated the repo to use pnpm remove Bun still getting the same issue. |
Describe the bug
I am getting a unknown file extension on the Github Primer package. I read through some older issues where using the deps optimizer was mentioned but that still results in a error. Filed a new issue thinking it is React Router v7 bug #12597 but they confirmed it's a Vite related issue but mostly happens with Vitest #5283. The only things that seem to have worked as mentioned was settings server.deps.inline to true but cannot find this equivalent option when using Vite i'm not using Vitest i cannot figure it out based on the current documentation.
Reproduction
https://github.com/matagaralph/primer-vite
Steps to reproduce
Next step is to run the deb server to reproduce the error
System Info
Used Package Manager
bun
Logs
Vite logs
Validations
The text was updated successfully, but these errors were encountered: