-
Notifications
You must be signed in to change notification settings - Fork 71
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 scss in the <style> tag #118
Comments
@uitcode You need to configure your project's preprocess step: https://svelte.dev/docs#svelte_preprocess There are some packages that can help you setting up scss to work with svelte: |
I know it is an aged issue, but I had a similar problem with Typescript and LESS. If you going to use 'svelte-preprocess' you have the possibility to this to support all common preprosseses:
|
I wonder if the svelte-loader should accept a string tell it how to import your Looks like [email protected] doesn't pass over |
I added this to svelte-loader index.js:
Then modified my webpack to pass |
@dummdidumm; The original question has been answered so I would recommend closing this issue. Based on the discussion here, it might be worth creating another issue focused on loading a configuration file ( |
How can I use scss in style tags of .svelte files?
The text was updated successfully, but these errors were encountered: