Closed Treverix closed 1 year ago
Huh, interesting. Thanks for reporting.
Hello :) Could you see if adding any code after the import, still inside script tag prevents this problem? I suspect last error inside script tag is getting lost.
Migrating GH issues to YouTrack. I've created a new issue: WEB-62296 missing syntax error for unclosed string literal in ESM import statement
Me again ;) I was just puzzled that a svelte file that 'looked' good didn't compile. I missed one single quotation mark on an import and both me and the svelte plugin didn't see that.
Works on typescript files and it is indepedent of the svelte language level (happens on js and ts).
It only happens when we import a full script, not just from a script.
And thanks again for the great plugin!