public static class LessCompiler.SourceMapConfiguration extends Object
| Constructor and Description |
|---|
LessCompiler.SourceMapConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
String |
getEncodingCharset() |
SourceMapUrlGenerator |
getSourceMapNameGenerator() |
boolean |
isIncludeSourcesContent() |
boolean |
isInline() |
boolean |
isRelativizePaths() |
LessCompiler.SourceMapConfiguration |
setEncodingCharset(String encodingCharset)
Source map and source map link encoding charset.
|
LessCompiler.SourceMapConfiguration |
setIncludeSourcesContent(boolean includeSourcesContent)
If set to
true, content of compiled (source) files is included inside source map. |
LessCompiler.SourceMapConfiguration |
setInline(boolean inline)
If set to
true, whole source map is encoded and embedded into generated css. |
LessCompiler.SourceMapConfiguration |
setLinkSourceMap(boolean linkSourceMap)
If set to
false, generated css does not contain link to source map file. |
LessCompiler.SourceMapConfiguration |
setRelativizePaths(boolean relativizePaths)
If set to false, final source map contains unmodified (absolute) paths to
original less files.
|
LessCompiler.SourceMapConfiguration |
setSourceMapNameGenerator(SourceMapUrlGenerator sourceMapNameGenerator) |
boolean |
shouldLinkSourceMap() |
public boolean shouldLinkSourceMap()
public LessCompiler.SourceMapConfiguration setLinkSourceMap(boolean linkSourceMap)
false, generated css does not contain link to source map file.public boolean isInline()
public LessCompiler.SourceMapConfiguration setInline(boolean inline)
true, whole source map is encoded and embedded into generated css. It is false by default.public String getEncodingCharset()
public LessCompiler.SourceMapConfiguration setEncodingCharset(String encodingCharset)
public boolean isRelativizePaths()
public LessCompiler.SourceMapConfiguration setRelativizePaths(boolean relativizePaths)
public boolean isIncludeSourcesContent()
public LessCompiler.SourceMapConfiguration setIncludeSourcesContent(boolean includeSourcesContent)
true, content of compiled (source) files is included inside source map.
Source map is independent of compiled less files locations.public SourceMapUrlGenerator getSourceMapNameGenerator()
public LessCompiler.SourceMapConfiguration setSourceMapNameGenerator(SourceMapUrlGenerator sourceMapNameGenerator)
Copyright © 2012-2015. All Rights Reserved.