sveltejs / svelte-preprocess

A ✨ magical ✨ Svelte preprocessor with sensible defaults and support for: PostCSS, SCSS, Less, Stylus, Coffeescript, TypeScript, Pug and much more.
MIT License
1.73k stars 147 forks source link

Lightningcss support #616

Closed mattpilott closed 7 months ago

mattpilott commented 7 months ago

Vite now offers support for lightningcss, if i try to use this with svelte preprocess i get an error. Is this something this package could provide support for or is it elsewhere?

dummdidumm commented 7 months ago

svelte-preprocess does not directly support lightingcss. But vite-plugin-svelte version 3 has support for it via the vite preprocessor that ships with it: https://github.com/sveltejs/vite-plugin-svelte/blob/main/docs/preprocess.md#vitepreprocess