sveltejs / svelte-preprocess

A ✨ magical ✨ Svelte preprocessor with sensible defaults and support for: PostCSS, SCSS, Less, Stylus, Coffeescript, TypeScript, Pug and much more.
MIT License
1.73k stars 148 forks source link

internal imports within SCSS lang #514

Open caesar-exploit opened 2 years ago

caesar-exploit commented 2 years ago

It is normal that when importing a .scss file from anywhere and it does not recognize the use of relative or absolute paths. Because in such a way if I choose @import './test/test/test2.scss'; in the position src/lib/components/header.svelte it does not recognize the relative path but (always absolute) from the root of the project.

image

image

image