diff --git a/mimosa-config.coffee b/mimosa-config.coffee index 1f0bca2..398892a 100644 --- a/mimosa-config.coffee +++ b/mimosa-config.coffee @@ -1,3 +1,4 @@ exports.config = + modules:['lint','require','server','minify','web-package'] minify: exclude:["\.min\.", "main.js"] \ No newline at end of file diff --git a/package.json b/package.json index 19f4a03..b416c35 100644 --- a/package.json +++ b/package.json @@ -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" } diff --git a/server.coffee b/server.coffee index acbe1bc..f6c843f 100644 --- a/server.coffee +++ b/server.coffee @@ -1,6 +1,5 @@ express = require 'express' reloadOnChange = require 'watch-connect' -gzip = require 'gzippo' engines = require 'consolidate' exports.startServer = (config) -> @@ -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()