This function synchronously compiles a Sass file to CSS. If it succeeds, it returns the result, and if it fails it throws an error.
⚠️ Heads up!When using the sass-embedded
npm package, render is almost always faster than renderSync, due to the overhead of emulating synchronous messaging with worker threads and concurrent compilations being blocked on main thread.
const sass = require('sass'); // or require('node-sass');const result = sass.renderSync({file: "style.scss"});
// ...
Deprecated
Use compile or compileString 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