Skip to content

Instantly share code, notes, and snippets.

@A-Programmer
Last active November 23, 2019 10:41
Show Gist options
  • Save A-Programmer/c8c1a936365b8c19521497be4e972e32 to your computer and use it in GitHub Desktop.
Save A-Programmer/c8c1a936365b8c19521497be4e972e32 to your computer and use it in GitHub Desktop.
Install and Config LiveSassCompiler extension
Create a .vscode folder in the root of project. Inside of .vscode folder create a json file named settings.json. Inside of the settings.json, type following key-value pairs. By the way you’ll get intelli-sense.
{
"liveSassCompile.settings.formats":[
{
"format": "expanded",
"extensionName": ".css",
"savePath": "/css"
},
{
"extensionName": ".min.css",
"format": "compressed",
"savePath": "/dist/css"
}
],
"liveSassCompile.settings.excludeList": [
"**/node_modules/**",
".vscode/**"
],
"liveSassCompile.settings.generateMap": true,
"liveSassCompile.settings.autoprefix": [
"> 1%",
"last 2 versions"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment