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

Importer won't recognise partials (underscore-prefixed files) #9

Closed
jrencz opened this issue Jul 17, 2017 · 2 comments
Closed

Importer won't recognise partials (underscore-prefixed files) #9

jrencz opened this issue Jul 17, 2017 · 2 comments

Comments

@jrencz
Copy link
Contributor

jrencz commented Jul 17, 2017

In lib/importer.js, in findImportedPath the mechanism tries to match unknown url against all given include paths.

the mechanism doesn't seem to know what sass knows: that foo/bar/_foo.scss is the same as foo/bar/foo.scss

IMO an attempt to recognise url as partial given without leading underscore should be made.

@jgranstrom
Copy link
Owner

@jrencz this was mentioned recently over here. There's a fix for this already that will be published today.

@jrencz
Copy link
Contributor Author

jrencz commented Jul 17, 2017

I checked and it works for my case. Thanks for a blazing fast fix :)

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