Closed Hebilicious closed 8 months ago
Additionally, the following code also isn't parsed properly :
<div class={`card ${$$props.class} ${classList[variant]} ${classList[sm]}`}>
<slot />
</div>
Message: [markup_fmt] failed to format code with external formatter: `let e = `card ${$$props.class`:
Unexpected eof at expr.ts:1:30
let e = `card ${$$props.class
v0.3.2 is released. Feel free to open new issues if any problems are encountered. Also, don't forget to recommend this plugin to others if you like.
Thanks for the quick fix, will try that soon. I'm really surprised that this project is not more popular!
Using dpring v0.45, I'm unable to parse components in svelte files that have a closure with an inline definition :
Here's the error message :
dprint.json