The @use or @import rule’s URL as a string, exactly as it appears in the stylesheet.
A string identifying the stylesheet that contained the @use or @import. This string’s format depends on how that stylesheet was loaded:
@use or @import rule that loaded it.The callback to call once the importer has finished running.
© 2006–2025 the Sass team, and numerous contributors
Licensed under the MIT License.
https://sass-lang.com/documentation/js-api/types/LegacyAsyncImporter
An asynchronous callback that implements custom Sass loading logic for
@importrules and@userules. This can be passed to importer for either render or renderSync.An asynchronous importer must return
undefined, and then calldonewith the result of its LegacyImporterResult once it's done running.See importer for more detailed documentation.
Deprecated
This only works with the legacy render and renderSync APIs. Use Importer with compile, compileString, compileAsync, and compileStringAsync instead.