You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does not handle @imports with relative paths correctly.
For example:
@import "base/_variables"; // Global Variables
Results in:
@import "base/_variables";
When calling pscss inside the css/base/ directory like this:
$ cd css/
$ ../bin/pscss < style.scss > ../web/css/style.css
wil give the correct result. Looks like relative path are taken relative the the directory where the script runs. It should be relative to the source file.
I hope this information is usefull. Keep up the good work. It is absolutly cool to have a good php version of a scss compiler available with in composer package reach.
The text was updated successfully, but these errors were encountered:
Calling pscss from the project root, like this.
Does not handle @imports with relative paths correctly.
For example:
Results in:
When calling
pscss
inside the css/base/ directory like this:$ cd css/
$ ../bin/pscss < style.scss > ../web/css/style.css
wil give the correct result. Looks like relative path are taken relative the the directory where the script runs. It should be relative to the source file.
I hope this information is usefull. Keep up the good work. It is absolutly cool to have a good php version of a scss compiler available with in composer package reach.
The text was updated successfully, but these errors were encountered: