compile
- compile(path: string, options?: Options<"sync">): CompileResult
-
Parameters
-
path: string
-
Optional
options: Options<"sync">
Returns CompileResult
-
Sass stands with the protesters against police violence. We encourage our users to get in the streets and join them if you can.
Optional
options: Options<"sync">
Synchronously compiles the Sass file at
path
to CSS. If it succeeds it returns a CompileResult, and if it fails it throws an Exception.This only allows synchronous Importers and CustomFunctions.
Example