svelte-typescript
svelte-typescript copied to clipboard
README suggestion
I'd love if https://github.com/pyoner/svelte-typescript/tree/master/packages/preprocess could describe what it does. It takes a .svelte
file and outputs a .ts
, .tsx
, and .css
file?
Another thing that would be useful is a comparison to other packages. E.g. what's the difference between this and https://github.com/kaisermann/svelte-preprocess?
@benmccann thank you for the suggestion! I'll add a description and comparison
And sooo.... Any difference with @kaisermann's one ?
If I'm not mistaken, right now both preprocessors work similarly, with a difference of implementation here or there. However, in v4
of svelte-preprocess
we're going to remove type-checking from the preprocessor and leave it to svelte-check
and other language tools.