sass/libsass

Partials aren't imported correctly

Closed this issue · 2 comments

This might be posted in the wrong place (I was testing sassc so maybe that's where this should go). But sassc won't import partials the way vanilla SASS does it, using underscore for naming and then omitting both underscore and extensions in the import directive.

/* This will fail: */
@import "variables/measures";

/* This will succeed: */
@import "variables/_measures.scss";

This is the right place! All that logic is handled here. We'll get this
sorted quickly.

Totally forgot that feature... sorry!

On Tue, Apr 24, 2012 at 4:25 AM, Johan Halse <
reply@reply.github.com

wrote:

This might be posted in the wrong place (I was testing sassc so maybe
that's where this should go). But sassc won't import partials the way
vanilla SASS does it, using underscore for naming and then omitting both
underscore and extensions in the import directive.

/* This will fail: */
@import "variables/measures";

/* This will succeed: */
@import "variables/_measures.scss";

---
Reply to this email directly or view it on GitHub:
https://github.com/hcatlin/libsass/issues/10

Should be fixed now. Sorry for the delay!