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
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