scss files as input considered as js file #13001
Unanswered
raphaelApard
asked this question in
Q&A
Replies: 1 comment
-
Well, this is utterly absurd. The solution for me was to add a comment at the top of the file. For example
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm working on a project using vite, but we don't have a single entry file.
We need to process some scss files and some typescript files.
I use the following vite config with all ts and scss file as entry, but vite consider scss as javascript file too.
I did an example project with the following structure :
Output after build is :
Is there a wait to tell vite to not consider scss file as js ?
Here my vite configuration :
Beta Was this translation helpful? Give feedback.
All reactions