UNPKG

requisite

Version:
22 lines (17 loc) 449 B
// Generated by CoffeeScript 1.11.1 var path, requireTry; path = require('path'); requireTry = require('../utils').requireTry; module.exports = function(opts, cb) { var stylus; stylus = requireTry('stylus'); return stylus.render(opts.source, { filename: opts.filename }, function(err, css) { if (err != null) { return cb(err); } return cb(null, "module.exports = " + css); }); }; //# sourceMappingURL=styl.js.map