-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Warning in VS Code when using Sass with a Svelte component #5065
Comments
Astro's Svelte integration supports I don't think there's something Astro can change here so closing this for now. We can also update the docs if |
@bluwy In the referred issue, an explanation for this was made and a simple fix came up, which is to install the |
@bluwy any updates on this? |
This is tricky. I suppose it used to work in Astro because we have We have some small discussion about solving preprocessing with the Vite dev server as a whole, so this could be fixed differently soon. |
Sounds good, and installing an extra package is a simple fix for now. Thanks for all your work on this! |
What version of
astro
are you using?1.4.7
Are you using an SSR adapter? If so, which one?
None
What package manager are you using?
pnpm
What operating system are you using?
Windows 10
Describe the Bug
When using a Svelte component with Sass styling (
<style lang="scss">
), I get a warning in VS Code:The
sass
package is installed, which makes everything work, but the warning still persists in VS Code, until I follow the advice and add an emptysvelte.config.js
file to the Astro project, then after restarting VS Code, it's gone:svelte.config.js
Link to Minimal Reproducible Example
VS Code related, cannot link to Stackblitz.
Participation
The text was updated successfully, but these errors were encountered: