From: dsc Date: Tue, 21 Feb 2012 18:40:34 +0000 (-0800) Subject: Fixes bug with the CommonJS wrapper and _.str X-Git-Url: http://git.less.ly:3516/?a=commitdiff_plain;h=ee836240cbe932078033c1eb4006f48c99574261;p=limn.git Fixes bug with the CommonJS wrapper and _.str --- diff --git a/lib/server/server.co b/lib/server/server.co index 1c15833..982b75c 100755 --- a/lib/server/server.co +++ b/lib/server/server.co @@ -70,7 +70,13 @@ app.configure -> # wrap modules in commonjs closure for browser app.use compiler do enabled : 'commonjs' - src : [ VAR, WWW, STATIC ] + src : [ STATIC ] + dest : VAR + options : commonjs : { drop_path_parts:1, drop_full_ext:false } + log_level : LOG_LEVEL + app.use compiler do + enabled : 'commonjs' + src : [ VAR, WWW ] dest : VAR options : commonjs : { drop_path_parts:1, drop_full_ext:true } log_level : LOG_LEVEL