expose define
Closed this issue · 2 comments
yocontra commented
allow users to define stuff via props
https://learnboost.github.io/stylus/docs/functions.url.html
desired usage
var gstylus = require('gulp-stylus');
var stylus = require('stylus');
gstylus({
define: {
url: stylus.url()
}
})
stephenlacy commented
Already exposed in accord's options layer:
https://github.com/jenius/accord/blob/master/docs/stylus.md#define
yocontra commented
perfect