-
-
Notifications
You must be signed in to change notification settings - Fork 114
Improve useVitePreprocess #173
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
What is the use case for this? Getting rid of the need to use |
Yes, and also when using css preprocessors like scss and stylus. Typescript would be handled with Vite's own esbuild instance so it would replace the need for There is still use cases for |
8feee11
to
72441c2
Compare
When enabling
useVitePreprocess
,importsNotUsedAsValues: "preserve"
won't be forced on the entire codebase, only in Svelte files.