@seedalpha/quesadilla

middleware for automatic sass bundles

Usage no npm install needed!

<script type="module">
  import seedalphaQuesadilla from 'https://cdn.skypack.dev/@seedalpha/quesadilla';
</script>

README

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