Skip to content

Commit

Permalink
Use responsive plugin for stylus
Browse files Browse the repository at this point in the history
  • Loading branch information
vslinko committed Feb 10, 2013
1 parent 041a218 commit 147afa2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rithis-stack",
"version": "0.0.3",
"version": "0.0.4",
"description": "Our web stack: express, mongoose, rithis-crud",
"keywords": ["web", "stack", "express", "mongoose", "crud"],
"author": {
Expand All @@ -23,6 +23,7 @@
"connect-coffee-script": "~0.1",
"stylus": "~0.32",
"nib": "~0.9",
"stylus-responsive": "~0.0",
"bower": "~0.6"
}
}
3 changes: 3 additions & 0 deletions stack.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ fs = require 'fs'
coffeescript = require 'connect-coffee-script'
stylus = require 'stylus'
nib = require 'nib'
responsive = require 'stylus-responsive'
jade = require 'jade-static'


Expand All @@ -23,7 +24,9 @@ module.exports.configure = (directory, name, configurator) ->
compiler.set 'filename', path
compiler.set 'compress', false
compiler.use nib()
compiler.use responsive
compiler.import 'nib'
compiler.import 'responsive'

# application
app = express()
Expand Down

0 comments on commit 147afa2

Please sign in to comment.