Skip to content
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

pscss does not handle @imports on relative paths correctly. It should be relative to the source file. #243

Closed
lweel opened this issue Apr 2, 2015 · 0 comments

Comments

@lweel
Copy link

lweel commented Apr 2, 2015

Calling pscss from the project root, like this.

$ bin/pscss < css/style.scss > web/css/style.css

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants