mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 18:47:35 +00:00
moved build stuff
This commit is contained in:
parent
c704e31beb
commit
74134a53af
4 changed files with 2 additions and 182 deletions
13
build.js
Normal file
13
build.js
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
({
|
||||
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;
|
||||
}
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue