Added gzip support #82

This commit is contained in:
logsol 2014-12-20 05:30:22 +01:00
parent 6f288f00b5
commit f29883d47f
6 changed files with 20 additions and 9 deletions

View file

@ -1,13 +0,0 @@
({
baseUrl: "app",
paths: {
"screenfull": "../node_modules/screenfull/dist/screenfull",
"socketio": "../node_modules/socket.io/node_modules/socket.io-client/dist/socket.io"
},
name: "../client",
out: "client.min.js",
onBuildRead: function (moduleName, path, contents) {
var contents = contents.replace(/\" \+ GLOBALS.context \+ \"/g, "Client");
return contents;
}
})