function stylusTask() {
return src(path.stylus.src)
.pipe(plumber())
.pipe(sourcemaps.init())
.pipe(stylus({
use: nib(),
import: ['nib'],
compress: true
}))
.pipe(sourcemaps.write('.'))
.pipe(dest(path.stylus.dest))
}
function stylusTask() {
return src(path.stylus.src)
.pipe(plumber())
.pipe(stylus({
use: nib(),
import: ['nib'],
compress: true,
define: {
url: require('stylus').url({
limit: 1
})
}
}))
.pipe(dest(path.stylus.dest))
}