LegacyPluginThis
Hierarchy
- LegacyPluginThis
 Index
Properties
Properties
options
context: LegacyPluginThis;
data?: string;
file?: string;
includePaths: string;
indentType: 0 | 1;
indentWidth: number;
linefeed: "\r" | "\r\n" | "\n" | "\n\r";
precision: 10;
result: {
stats: {
entry: string;
start: number;
};
};
style: 1;
}
A partial representation of the options passed to render or renderSync.
Type declaration
- 
context: LegacyPluginThisThe same LegacyPluginThis instance that contains this object. 
- 
Optionaldata?: stringThe value passed to data. 
- 
Optionalfile?: string
- 
includePaths: 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.
- 
indentType: 0 | 1 1 if indentType was "tab", 0 otherwise.
- 
indentWidth: number The value passed to indentWidth, or 2otherwise.
- 
linefeed: "\r" | "\r\n" | "\n" | "\n\r"The value passed to linefeed, or "\n"otherwise.
- 
precision: 10Always 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: stringfile if it was passed, otherwise the string "data".
- 
start: numberThe number of milliseconds between 1 January 1970 at 00:00:00 UTC and the time at which Sass compilation began. 
 
- 
 
- 
- 
style: 1Always the number 1. 
The value of
thisin the context of a LegacyImporter or LegacyFunction callback.Deprecated
This is only used by the legacy render and renderSync APIs. Use compile, compileString, compileAsync, and compileStringAsync instead.