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/functions/render below:

Website Navigation


Sass: render | JS API

This function asynchronously compiles a Sass file to CSS, and calls callback with a LegacyResult if compilation succeeds or LegacyException if it fails.

⚠️ Heads up!

When using the sass npm package, renderSync is almost twice as fast as render by default, due to the overhead of making the entire evaluation process asynchronous.

const sass = require('sass'); // or require('node-sass');

sass.render({


file: "style.scss"
}, function(err, result) {
// ...
});
Deprecated

Use compileAsync or 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