seedalpha / quesadilla

Automatically build, watch and serve your sass files.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

quesadilla Build Status

Automatically build, watch and serve your sass files. Highly inspired by enchilada.

with express/connect

var app = express();

// serves up all your sass files
app.use(quesadilla(__dirname + '/public'));

// fallback for other static resources
app.use(express.static(__dirname + '/public'));

Now just visit any .css url which maps to a path under /public and the compiled file will be served.

options

app.use(quesadilla({
  src: __dirname + '/public', // location of your scss files
}));

quesadilla will forward options to node-sass, for example:

app.use(quesadilla({
  src: __dirname + '/style',
  outputStyle: 'compressed'
}));

examples

See the examples directory for working code you can copy and paste.

install

Install with npm

npm install quesadilla

License

MIT

About

Automatically build, watch and serve your sass files.


Languages

Language:JavaScript 98.5%Language:CSS 1.5%