Skip to content

sassResolve need normalize #8

@valaxy

Description

@valaxy

Check https://github.com/xzyfer/gulp-sass-graph/blob/master/index.js#L79

var scssPath = loadPaths[p] + "/" + path + ".scss"

if css is @import "./abc"
then path=="./abc"
then scssPath=="lib/./abc.scss" which should be "lib/abc.scss"

So code should be:

var scssPath = path.normalize(loadPaths[p] + "/" + path + ".scss")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions