svelte-preprocess
svelte-preprocess copied to clipboard
Add haml as preprocessor
Is your feature request related to a problem? Please describe. There is a nice and frequently used haml processor: hamljs The reason for preferring it over pug is: On Rails Backend, like many, i work with haml. Then backend and frontend could have the same language.
I tried to implement it, but: Internal server error: Error while preprocessing /Users/dev/temp/vite-app/app/frontend/javascript/components/hello.svelte - Cannot find module './transformers/hamljs'
(same with 'haml' instead of 'hamljs')
Describe the solution you'd like Add it as option for preprocessing.
Describe alternatives you've considered :)
How important is this feature to you? not serious, but would be nice.
Additional context thats all.
Thanks, Christian