Skip to content

@import doesn't seem to work with absolute paths #19

@riegel

Description

@riegel

When I use a full path with the import directive like...

@import '/apps/editor/sass.scss';

it fails with a...

file to import not found or unreadable: '/apps/editor/sass.scss'

Even though I have registered the file.

Sass.readFile('/apps/editor/sass.scss');
"body {color:red;} p {font-size:1.2em;}"

As long as I don't use absolute paths everything seems to work fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions