A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://sass-lang.com/documentation/js-api/types/LegacySyncImporter below:

Website Navigation


Sass: LegacySyncImporter | JS API

A synchronous callback that implements custom Sass loading logic for @import rules and @use rules. This can be passed to importer for either render or renderSync.

See importer for more detailed documentation.

sass.renderSync({
file: "style.scss",
importer: [
function(url, prev) {
if (url != "big-headers") return null;

return {


contents: 'h1 { font-size: 40px; }'
};
}
]
});
Deprecated

This only works with the legacy render and renderSync APIs. Use Importer with compile, compileString, compileAsync, and compileStringAsync instead.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4