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

breaking: remove preserve option #622

Closed benmccann closed 3 weeks ago

benmccann commented 6 months ago

closes https://github.com/sveltejs/svelte-preprocess/issues/305 closes https://github.com/sveltejs/svelte-preprocess/issues/312

Turns out the preserve option doesn't actually do anything useful anymore because it's now looking at lang and not type as it was originally. The original issues are already fixed without specifying preserve at all.