firefish5000 / svelte-trim

Strips whitespace from svelte files.
8 stars 2 forks source link

Collaborate with svelte-preprocess to increase adoption #2

Open non25 opened 3 years ago

non25 commented 3 years ago

Hi. This is the proper way to strip whitespaces, because it uses AST for that and doesn't rely on footshooting with RegExps. Thanks a lot, great job.

I think there's more demand for a solution to the whitespace problem in svelte than weekly downloads of svelte-trim shows.

Would be cool to increase adoption and ensure production-readiness by moving closer to the core svelte tools.

This will never be implemented in svelte as far as maintainer replies go, but it can be optional preprocessor in svelte-preprocess.

Are you interested in that? :thinking: