Open
Description
Currently I am using nib as follows:
var express = require("express"),
path = require("path"),
stylus = require("stylus"),
nib = require("nib");
function compile(str, path) {
return stylus(str)
.set('filename', path)
.set('compress', true)
.use(nib());
}
app.use(stylus.middleware({
src: __dirname + '/public',
compile: compile,
sourcemaps: true
}));
app.use(express.static(path.join(__dirname, "public")));
I have sourcemaps set to true, and stylus works fine without the call to nib. However, once I add nib, the sourcemaps seem to stop working. Any ideas on this? Thanks!
Metadata
Metadata
Assignees
Labels
No labels