@Override public String process(final String filename, final String source, final Config conf, final ClassLoader loader) throws Exception { String syntax = get("syntax"); String importer = get("importer").toString().toUpperCase(); Function<String, URI> resolver; if ("FILE".equals(importer)) { resolver = CP.apply(loader); OutputStyle style = OutputStyle.valueOf(get("style").toString().toUpperCase()); options.getImporters().add(new SassImporter(syntax, resolver)); options.setOutputStyle(style); options.setIndent(get("indent")); options.setLinefeed(get("linefeed")); options.setOmitSourceMapUrl(get("omitSourceMapUrl")); options.setPrecision(get("precision")); options.setSourceComments(get("sourceComments")); String sourcemap = get("sourcemap"); if ("inline".equals(sourcemap)) { options.setSourceMapEmbed(true); throw new AssetException(name(), new AssetProblem(Optional.ofNullable(x.getErrorFile()).orElse(filename), line, column, x.getErrorText(), null));