Skip to content

Commit

Permalink
Support SourceMaps for dart-sass-embedded
Browse files Browse the repository at this point in the history
  • Loading branch information
larsgrefer committed Sep 16, 2022
1 parent b7426ec commit efbc32e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ public void compileSass() throws IOException {
try (SassCompiler compiler = SassCompilerFactory.bundled()) {
compiler.setOutputStyle(getOutputStyle().getOrNull());
compiler.setGenerateSourceMaps(sourceMapEnabled.getOrElse(true));
compiler.setSourceMapIncludeSources(sourceMapContents.getOrElse(false));

compiler.setLoggingHandler(new Slf4jLoggingHandler(getLogger()));
compiler.getLoadPaths().addAll(getIncludePaths().getFiles());
Expand Down

0 comments on commit efbc32e

Please sign in to comment.