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

doc gap: compile a javascript variant via preprocess, apply to .ts #603

Closed stylehouse closed 1 year ago

stylehouse commented 1 year ago

Is your feature request related to a problem? Please describe. Docs in this repo dont cover how to transform some source to javascript. I have got something working for .svelte files. I want 'EXPR and BLOCK', etc. By hijacking the 'typescript' alias (apparently to be deprecated?) I keep my IDE basically understanding things inside: Githubissues.

  • Githubissues is a development platform for aggregating issues.