Compile sass/scss in visual studio code without need of installing Node.js
Compile sass/scss in visual studio code without need of installing Node.js
watch
feature to compile your projectSingle Compilation-Live View:
.{sass,scss}
fileCompile Project:
sassconfig.json
file at the root of your sass/scss filesWatch Project:
sassconfig.json
fileHere is the syntax of sassconfig.json
file:
{
outDir?: string,
removeComments?: boolean,
sourceMaps?: boolean,
indentType?: "space" | "tab",
indentWidth?: number,
linefeed?: "cr" | "crlf" | "lf" | "lfcr",
omitSourceMapUrl?: boolean,
outputStyle?: "expanded" | "compressed"
}
This extension provides some commands that can be used by other extensions
Current Commands:
vscode-sassc.api.render
sass.Options
options: see sassCompileOptionssass.Result
: see sassResult
*: needs sassconfig.json
file to be in the root of sass/scss project