The compiled CSS. This can be converted to a string by calling Buffer.toString.
The source map that maps the compiled CSS to the source files from which it was generated. This can be converted to a string by calling Buffer.toString.
This is undefined
unless either
true
and LegacySharedOptions.outFile is set.The source map uses absolute file:
URLs to link to the Sass source files, except if the source file comes from LegacyStringOptions.data in which case it lists its URL as "stdin"
.
Additional information about the compilation.
The number of milliseconds it took to compile the Sass file. This is always equal to start
minus end
.
The number of milliseconds between 1 January 1970 at 00:00:00 UTC and the time at which Sass compilation ended.
The absolute path of LegacyFileOptions.file or LegacyStringOptions.file, or "data"
if LegacyStringOptions.file wasn't set.
An array of the absolute paths of all Sass files loaded during compilation. If a stylesheet was loaded from a LegacyImporter that returned the stylesheet’s contents, the raw string of the @use
or @import
that loaded that stylesheet included in this array.
The number of milliseconds between 1 January 1970 at 00:00:00 UTC and the time at which Sass compilation began.
© 2006–2022 the Sass team, and numerous contributors
Licensed under the MIT License.
https://sass-lang.com/documentation/js-api/interfaces/LegacyResult
The object returned by render and renderSync after a successful compilation.
This is only used by the legacy render and renderSync APIs. Use compile, compileString, compileAsync, and compileStringAsync instead.