jgranstrom/sass-extract

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

Closed this issue · 2 comments

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.

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

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