Class SassCompilerFactory

java.lang.Object
de.larsgrefer.sass.embedded.SassCompilerFactory

public final class SassCompilerFactory extends Object
  • Method Details

    • bundled

      public static SassCompiler bundled() throws IOException
      Create a new SassCompiler 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 to close it when you're done.

      Returns:
      A freshly created SassCompiler based on a new subprocess.
      Throws:
      IOException