ImportResolver

Swift
public enum ImportResolver: Sendable

How the Sass compiler should resolve @import, @use, and @forward rules.


Topics

case loadPath(URL)

Search a filesystem directory to resolve the rule. See the Sass docs.

Declaration
Swift
case loadPath(URL)

case importer(Importer)

Call back through the Importer to resolve the rule.

Declaration
Swift
case importer(Importer)

case filesystemImporter(FilesystemImporter)

Call back through the FilesystemImporter to resolve the rule.

Declaration
Swift
case filesystemImporter(FilesystemImporter)