sassbass
v0.0.2
Published
compile or watch sass directories recursively
Downloads
3
Maintainers
Readme
Bass picture from Wikimedia – By Tim Van Vliet – en:Image:StripedBass.JPG, CC BY-SA 3.0
sassbass
sassbass compiles directories of SCSS files
install sassbass
npm install --save-dev sassbass
use sassbass cli
sassbass --indir src --outdir dist
use source maps
sassbass --indir src --outdir dist --sourcemap
watch mode
sassbass --indir src --outdir dist --watch
watch mode with source maps
sassbass --indir src --outdir dist --sourcemap --watch
node functions available
const sassbass = require("sassbass") async function main() { // compile directory of scss await sassbass.compileDirectory({ indir: "src", outdir: "dist", sourceMap: true }) // watch directory of scss const watch = await sassbass.watchDirectory({ indir: "src", outdir: "dist", sourceMap: true }) // stop watching watch.stop() }