Skip to content

Commit

Permalink
removing gzippo
Browse files Browse the repository at this point in the history
  • Loading branch information
dbashford committed Nov 1, 2012
1 parent 1315f4b commit 15672ca
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
1 change: 1 addition & 0 deletions mimosa-config.coffee
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
exports.config =
modules:['lint','require','server','minify','web-package']
minify:
exclude:["\.min\.", "main.js"]
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@
"version": "0.0.1",
"dependencies": {
"consolidate": "~0.4.0",
"iced-coffee-script": "~1.3.3e",
"jade": "~0.26.3",
"gzippo": "git://github.com/dbashford/gzippo.git",
"express": "~3.0.0beta4",
"watch-connect": "~0.3.4"
"watch-connect": "~0.3.4",
"coffee-script": "1.3.3"
},
"engine": "node >= 0.8.1"
}
4 changes: 2 additions & 2 deletions server.coffee
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
express = require 'express'
reloadOnChange = require 'watch-connect'
gzip = require 'gzippo'
engines = require 'consolidate'

exports.startServer = (config) ->
Expand Down Expand Up @@ -38,8 +37,9 @@ exports.startServer = (config) ->
exclude:["almond\\.js"]
additionaldirs:["#{__dirname}/views"]
app.use reloadOnChange(options)
app.use express.compress()
app.use app.router
app.use gzip.staticGzip(publicPath)
app.use express.static(publicPath)

app.configure 'development', ->
app.use express.errorHandler()
Expand Down

0 comments on commit 15672ca

Please sign in to comment.