@seedalpha/quesadilla
v2.2.10
Published
middleware for automatic sass bundles
Downloads
1
Readme
quesadilla
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