Package de.larsgrefer.sass.embedded
Class SassCompilerFactory
java.lang.Object
de.larsgrefer.sass.embedded.SassCompilerFactory
-
Method Summary
Modifier and TypeMethodDescriptionstatic SassCompiler
bundled()
Create a newSassCompiler
based on the dart-sass-embedded binary bundled in this jar.
-
Method Details
-
bundled
Create a newSassCompiler
based on the dart-sass-embedded binary bundled in this jar.Note that this is an expensive operation as it spawns a new process. So check if you can re-use the
SassCompiler
instance and make sure toclose
it when you're done.- Returns:
- A freshly created
SassCompiler
based on a new subprocess. - Throws:
IOException
-