Skip to content

SASS: Problem with relative path in Windows #8

Closed
@ruriba

Description

@ruriba

There is a problem compiling the client from Windows, causing problems with the relative SASS paths. I've replaced the backslashes on the routes and apparently that solves the problem.

/gulp-task/compiler.js

~line 17

const relativePath = path.relative(
    path.dirname(filePath),
    path.resolve(dirs.srcClient, 'style/global.scss')
).replace(/\\/g,'/'); // Replace backslashes with forward slashes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions