Skip to content

Commit

Permalink
Adding support for Nib to the Stylus package
Browse files Browse the repository at this point in the history
  • Loading branch information
TrevorBurnham authored and n1mmy committed Jul 10, 2012
1 parent 6081f17 commit b2667bd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions admin/generate-dev-bundle.sh
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ npm install [email protected]
npm install [email protected]
npm install [email protected]
npm install [email protected]
npm install [email protected]
npm install [email protected]
npm install [email protected]
npm install [email protected]
Expand Down
2 changes: 2 additions & 0 deletions packages/stylus/package.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Package.describe({
});

var stylus = require('stylus');
var nib = require('nib');
var fs = require('fs');

Package.register_extension(
Expand All @@ -12,6 +13,7 @@ Package.register_extension(
var contents = fs.readFileSync(source_path);

stylus(contents.toString('utf8'))
.use(nib())
.set('filename', source_path)
.render(function(err, css) {
if (err) {
Expand Down

0 comments on commit b2667bd

Please sign in to comment.