chuck.js/build.js
2014-12-21 19:39:03 +01:00

13 lines
No EOL
420 B
JavaScript

({
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;
}
})