Compiles Sass and SCSS files to CSS as you save them in VS Code
open sourceMITfree
A VS Code extension that watches a project's Sass and SCSS files and compiles them to CSS each time one is saved, from a Watch Sass button in the status bar or a command; a one-off compile works without watching. Settings choose where each CSS file goes, its style (expanded or compressed) and its extension (.css, .min.css), exclude folders and add vendor prefixes with Autoprefixer, and modules can be referenced with pkg: or ~/. It continues Ritwick Dey's Live Sass Compiler, which its maker no longer maintains and whose repository is archived. MIT licensed.
Problems it solves
- turn my SCSS into CSS automatically every time I save in VS Code
- compile Sass without setting up a build tool for a small site
- get minified CSS from my Sass files while I edit
Features
- compiles Sass and SCSS to CSS on save in watch mode
- one-off compile of the current file without watching
- chooses the output folder, CSS style and file extension
- vendor prefixes through Autoprefixer
- excludes folders from compiling
Alternatives
The same job
These do what Live Sass Compiler does.
- CSS Peek Peek at, jump to and hover over the CSS, SCSS and Less rules for a class or id in VS Code
- C/C++ Compile Run Compile, run and debug single C and C++ files in VS Code with one key