sassbass
compile or watch sass directories recursively
Last updated 8 months ago by chasemoskal .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install sassbass 
SYNC missed versions from official npm registry.

bass fish

   Bass picture from Wikimedia – By Tim Van Vliet – en:Image:StripedBass.JPG, CC BY-SA 3.0

sassbass

sassbass compiles directories of SCSS files

  1. install sassbass
    npm install --save-dev sassbass

  2. 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

  3. 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()
    }
    

Current Tags

  • 0.0.2                                ...           latest (8 months ago)

7 Versions

  • 0.0.2                                ...           8 months ago
  • 0.0.1                                ...           a year ago
  • 0.0.0                                ...           a year ago
  • 0.0.0-dev.4                                ...           2 years ago
  • 0.0.0-dev.2                                ...           2 years ago
  • 0.0.0-dev.1                                ...           2 years ago
  • 0.0.0-dev.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 1
Last Month 2
Dependencies (6)
Dev Dependencies (1)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |