Closed ohbob closed 3 years ago
This sounds like sveltejs/svelte#4141 - markup is preprocessed before script or style tags are, so when the svimg preprocessor tries to parse the markup it chokes on the Typescript and SCSS syntax. It looks like there are some open pull requests to try to handle this more gracefully in svelte-preprocessor, but I might be able to (hackily) work around this in the svimg preprocessor. I'll give it a shot.
terminal
svelte.config.js
index.svelte