-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Svelte support #171
Comments
I'm not seeing errors in the plugin debug console (I do have "Enable debug logging" turned on), but I'm not seeing import cost annotations either (I do have |
It's been a while I haven't worked on my Svelte project. I have just opened it again tonight and indeed, it seems that I no longer have any errors in the plugin debug console and I am not seeing import cost annotations |
I published a new version of the extension (2.14.0) that should support Svelte. |
Works great for me, thank you for the effort! |
Glad to see that some work was finally needed and that you could manage 👍 Cheers 🤙 |
There is issue #198 which I will look into tomorrow or the day after so no need to create a new issue. |
I have edited the plugin configuration to support .svelte files :
Several issues show up from the plugin debug console :
importCost error: SyntaxError: Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...</>? (6:0)
importCost error: SyntaxError: Unexpected token, expected "}" (16:4)
importCost error: SyntaxError: Unexpected token (98:1)
Tested on these two files :
Note that it is failing parsing rollup.config.js file which is pure JS :
And calculating size of 0 for all other Rollup modules.
The text was updated successfully, but these errors were encountered: