compileString
- compile
String(source: string, options?: StringOptions<"sync">): CompileResult -
Parameters
-
source: string
-
Optional
options: StringOptions<"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: StringOptions<"sync">
Synchronously compiles a stylesheet whose contents is
source
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