Expose CSS in dev mode as file. #14903
Unanswered
SebastianStehle
asked this question in
Q&A
Replies: 1 comment
-
vite build --watch |
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 am testing around if I can migrate from karma+webpack to vite+vitest. It worked fine for another project but this time my setup is a little bit special.
I have a backend written in .NET which also serves the file. In development mode it just proxies the webpack dev server. There are handful "static" sites like login and password recovery and so on. They use the general theme from the frontend page but have like 200 lines of custom css that is just part of the main chunk. So far I have just added the css from the react frontend to my backend as a link, but vite does not extract the css to a normal css file in development mode. Is there a solution for that?
Beta Was this translation helpful? Give feedback.
All reactions