Interface LegacyPluginThis
Hierarchy
- LegacyPluginThis
Index
Properties
Properties
options
A partial representation of the options passed to render or renderSync.
Type declaration
Optional data?: string
The value passed to LegacyStringOptions.data.
Optional file?: string
The value passed to LegacyFileOptions.file or LegacyStringOptions.file.
include
Paths: string The value passed to LegacySharedOptions.includePaths separated by
";"
on Windows or":"
on other operating systems, or an empty array if no value was passed.indent
Type: 0 | 1 1 if LegacySharedOptions.indentType was
"tab"
, 0 otherwise.indent
Width: number The value passed to LegacySharedOptions.indentWidth, or
2
otherwise.linefeed: "cr" | "crlf" | "lf" | "lfcr"
The value passed to LegacySharedOptions.linefeed, or
"lf"
otherwise.precision: 10
Always the number 10.
result: { stats: { entry: string; start: number } }
A partially-constructed LegacyResult object.
stats: { entry: string; start: number }
Partial information about the compilation in progress.
entry: string
LegacyFileOptions.file if it was passed, otherwise the string
"data"
.start: number
The number of milliseconds between 1 January 1970 at 00:00:00 UTC and the time at which Sass compilation began.
style: 1
Always the number 1.
The value of
this
in the context of a LegacyImporter or LegacyFunction callback.This is only used by the legacy render and renderSync APIs. Use compile, compileString, compileAsync, and compileStringAsync instead.