Last active
November 23, 2019 10:41
-
-
Save A-Programmer/c8c1a936365b8c19521497be4e972e32 to your computer and use it in GitHub Desktop.
Install and Config LiveSassCompiler extension
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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