-
Notifications
You must be signed in to change notification settings - Fork 32
Relative path from current CSS file #7
Comments
@ai, what is the point for having this? As for me, I don’t have any special expectations for the paths starting with a dot. Both |
Also, having such source file relativeness may bring confusion when the source code is written with some of the preprocessor languages and has partials included. Where should path relate to: the partial, or the resulting file? |
I need relative path for component based structure:
|
Yeap, in fs |
So, what we will do with component based structure? |
Another option would be having the directory which contains CSS as a first in the list on the load paths. So, if you write What do you think, @ai? |
Yeap, it is nice solution too. |
I really doesn’t understand what how relative paths works in 2.0.0. I have a this structure:
What I should pass in options and how I should load |
So, how I can use relevant from CSS file paths? |
@ai!
If |
Nice. Thanks. I waiting for SVG inline fix and then will remove |
When I write
I expect that it takes file from same dir as CSS files.
You can take CSS file path from
decl.source.input.file
.The text was updated successfully, but these errors were encountered: