Whether the importer is being invoked because of a Sass @import rule, as opposed to a @use or @forward rule.
This should only be used for determining whether or not to load import-only files.
A partial representation of the options passed to render or renderSync.
The same LegacyPluginThis instance that contains this object.
Optional data?: string
The value passed to data.
Optional file?: string
The value passed to includePaths separated by ";" on Windows or ":" on other operating systems. This always includes the current working directory as the first entry.
1 if indentType was "tab", 0 otherwise.
The value passed to indentWidth, or 2 otherwise.
The value passed to linefeed, or "\n" otherwise.
Always the number 10.
A partially-constructed LegacyResult object.
Partial information about the compilation in progress.
file if it was passed, otherwise the string "data".
The number of milliseconds between 1 January 1970 at 00:00:00 UTC and the time at which Sass compilation began.
Always the number 1.
© 2006–2025 the Sass team, and numerous contributors
Licensed under the MIT License.
https://sass-lang.com/documentation/js-api/interfaces/LegacyImporterThis
The value of
thisin the context of a LegacyImporter function.Deprecated
This is only used by the legacy render and renderSync APIs. Use Importer with compile, compileString, compileAsync, and compileStringAsync instead.