Package wrm.libsass

Class SassCompiler


  • public class SassCompiler
    extends Object
    • Constructor Detail

      • SassCompiler

        public SassCompiler()
    • Method Detail

      • compileFile

        public io.bit3.jsass.Output compileFile​(String inputPathAbsolute,
                                                String outputPathRelativeToInput,
                                                String sourceMapPathRelativeToInput)
                                         throws io.bit3.jsass.CompilationException
        All paths passed to this method must be relative to the same directory.
        Throws:
        io.bit3.jsass.CompilationException
      • setEmbedSourceMapInCSS

        public void setEmbedSourceMapInCSS​(boolean embedSourceMapInCSS)
      • setEmbedSourceContentsInSourceMap

        public void setEmbedSourceContentsInSourceMap​(boolean embedSourceContentsInSourceMap)
      • setGenerateSourceComments

        public void setGenerateSourceComments​(boolean generateSourceComments)
      • setGenerateSourceMap

        public void setGenerateSourceMap​(boolean generateSourceMap)
      • setIncludePaths

        public void setIncludePaths​(String includePaths)
      • setOmitSourceMappingURL

        public void setOmitSourceMappingURL​(boolean omitSourceMappingURL)
      • setOutputStyle

        public void setOutputStyle​(io.bit3.jsass.OutputStyle outputStyle)
      • setPrecision

        public void setPrecision​(int precision)
      • setEnableClasspathAwareImporter

        public void setEnableClasspathAwareImporter​(boolean enableClasspathAwareImporter)