svelte-preprocess icon indicating copy to clipboard operation
svelte-preprocess copied to clipboard

Add haml as preprocessor

Open chmich opened this issue 2 years ago • 0 comments

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

chmich avatar Oct 08 '22 22:10 chmich