-
Notifications
You must be signed in to change notification settings - Fork 38
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
Use defaults passed to sveltePreprocess #212
Comments
Yes indeed that would be nice, thanks for raising! |
@tomblachut I just wanted to chime in here and say you can probably close this issue. Svelte is deprecating the
By the way, thank you so much for all the great work on this plugin! I don't know what I'd do without it. |
@mikerourke thanks for the info and for kind words :) I'll rename this issue to better reflect that it's specifically about "defaults" and close it. |
The official Svelte plugin for VS Code is able to load preprocess options passed to
sveltePreprocess
insvelte.config.js
, and set up defaults correctly. It would be awesome to have support for that in this plugin as well.For example, if one sets up typescript in
svelte.config.js
as the default language:...then typescript can be used in the
script
tag without having to specifylang
:This works nicely in VS Code with the official Svelte plugin:
But fails in WebStorm with this plugin (0.18.0.203):
Related issue from the VS Code plugin repository: sveltejs/language-tools#593
The text was updated successfully, but these errors were encountered: