public class SassCompiler extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SassCompiler.InputSyntax |
static class |
SassCompiler.OutputStyle |
| Constructor and Description |
|---|
SassCompiler() |
| Modifier and Type | Method and Description |
|---|---|
io.bit3.jsass.Output |
compileFile(String inputPathAbsolute,
String outputPathRelativeToInput,
String sourceMapPathRelativeToInput)
All paths passed to this method must be relative to the same directory.
|
void |
setEmbedSourceContentsInSourceMap(boolean embedSourceContentsInSourceMap) |
void |
setEmbedSourceMapInCSS(boolean embedSourceMapInCSS) |
void |
setEnableClasspathAwareImporter(boolean enableClasspathAwareImporter) |
void |
setGenerateSourceComments(boolean generateSourceComments) |
void |
setGenerateSourceMap(boolean generateSourceMap) |
void |
setIncludePaths(String includePaths) |
void |
setInputSyntax(SassCompiler.InputSyntax inputSyntax) |
void |
setOmitSourceMappingURL(boolean omitSourceMappingURL) |
void |
setOutputStyle(io.bit3.jsass.OutputStyle outputStyle) |
void |
setOutputStyle(SassCompiler.OutputStyle outputStyle) |
void |
setPrecision(int precision) |
public io.bit3.jsass.Output compileFile(String inputPathAbsolute, String outputPathRelativeToInput, String sourceMapPathRelativeToInput) throws io.bit3.jsass.CompilationException
io.bit3.jsass.CompilationExceptionpublic void setEmbedSourceMapInCSS(boolean embedSourceMapInCSS)
public void setEmbedSourceContentsInSourceMap(boolean embedSourceContentsInSourceMap)
public void setGenerateSourceComments(boolean generateSourceComments)
public void setGenerateSourceMap(boolean generateSourceMap)
public void setIncludePaths(String includePaths)
public void setInputSyntax(SassCompiler.InputSyntax inputSyntax)
public void setOmitSourceMappingURL(boolean omitSourceMappingURL)
public void setOutputStyle(io.bit3.jsass.OutputStyle outputStyle)
public void setOutputStyle(SassCompiler.OutputStyle outputStyle)
public void setPrecision(int precision)
public void setEnableClasspathAwareImporter(boolean enableClasspathAwareImporter)
Copyright © 2017. All rights reserved.