forked from google-deepmind/pysc2
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbrowserify_script
More file actions
11 lines (5 loc) · 1.52 KB
/
browserify_script
File metadata and controls
11 lines (5 loc) · 1.52 KB
1
2
3
4
5
6
7
8
9
10
11
browserify
browserify --detect-globals -r gamejs -r ./pythonUtils.js -r ./numpy.js -r ./stopwatch.js -r ./point.js -r ./colors.js -r ./transform.js -r ./actions.js -r ./features.js -r ./renderer_human/s2clientprotocol.min.js:s2clientprotocol -r ./renderer_human.js:frontend > ./renderer_human/bundle.js
browserify -r renderer_human/tensorflow_stub.js:@tensorflow/tfjs -r renderer_human/tensorflow_node_stub.js:@tensorflow/tfjs-node -r gamejs -r ./pythonUtils.js -r ./named_array.js -r ./numpy.js -r ./stopwatch.js -r ./point.js -r ./colors.js -r ./transform.js -r ./actions.js -r ./features.js -r ./renderer_human/s2clientprotocol.min.js:s2clientprotocol -r ./renderer_human.js:frontend > ./renderer_human/bundle.js
browserify -r ./renderer_human/tensorflow_stub.js:'@tensorflow/tfjs' -r ./renderer_human/tensorflow_node_stub.js:@tensorflow/tfjs-node --detect-globals -r gamejs -r ./pythonUtils.js -r ./numpy.js -r ./named_array.js -r ./stopwatch.js -r ./point.js -r ./colors.js -r ./transform.js -r ./actions.js -r ./features.js -r ./renderer_human/s2clientprotocol.min.js:s2clientprotocol -r ./renderer_human.js:frontend > ./renderer_human/bundle.js
browserify -r ./renderer_human/tensorflow_stub.js:@tensorflow/tfjs -r ./renderer_human/tensorflow_node_stub.js:@tensorflow/tfjs-node -r s2clientprotocol -r gamejs -r ./pythonUtils.js -r ./numpy.js -r ./named_array.js -r ./static_data.js -r ./stopwatch.js -r ./point.js -r ./colors.js -r ./transform.js -r ./actions.js -r ./features.js -r ./protocol.js -r ./renderer_human.js > ./renderer_human/bundle.js