Skip to content

@import with relative URIs need base URI to resolve against #270

@yagee-de

Description

@yagee-de

I wrote a CustomImporter to retrieve a SASS file URL. It all works well. But there is no way to support paths starting with "../" in import statements, as I don't have any clue what the URL of the importing SASS file is at this point.

dart-sass-java should give a reference to the importing document, like in jsass: https://gitlab.com/jsass/jsass/-/blob/master/src/main/java/io/bit3/jsass/importer/Importer.java

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