jack-stack-stylus
v1.1.0
Published
Stylus module for jack-stack
Downloads
6
Readme
Jack-Stack-Stylus
Stylus module for jack-stack. Processes stylus in all config.dirnames.static.
Installation
$ npm install --save jack-stack-stylus
Usage
Any stylus configuration can be passed during initialization.
ES6
// Replace with your actual Stylus Config
import jack from 'jack-stack';
import jackStylus from 'jack-stack-stylus';
const stylusConfig = {
dest: 'something',
};
jack.use(jackStylus(stylusConfig));
ES5
// Replace with your actual stylus Config
var stylusConfig = {
dest: 'something',
};
var jack = require('jack-stack');
var jackStylus = require('jack-stack-stylus')(stylusConfig);
jack.use(jackStylus);