svelte-subcomponent-preprocessor
svelte-subcomponent-preprocessor copied to clipboard
A component can only have one instance-level <script> element
I'm giving this a try but getting:
1:48:40 PM [vite] Error when evaluating SSR module /src/routes/board/[boardId]/index.svelte: ParseError: A component can only have one instance-level <script> element
That file doesn't have multiple script tags or even a subcomponent defined
Thanks!
Sorry that I've been slow to get to this. Would you be able to provide a minimal reproducible example?