-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathbuild.min.js
38 lines (31 loc) · 1.01 KB
/
build.min.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
// see a complete list of options here:
// https://github.com/jrburke/r.js/blob/master/build/example.build.js
requirejs.config({
// all modules loaded are relative to this path
// e.g. require(["grid/core"]) would grab /lib/grid/core.js
baseUrl: ".",
// specify custom module name paths
paths: {
// JavaScript folders.
brejep: "lib/brejep",
utils: "lib/utils",
game: "src/game",
// Libraries
ash: "lib/ash/ash",
Stats: "lib/utils/Stats"
},
// Sets the configuration for your third party scripts that are not AMD compatible
shim: {
"Stats": {
"exports": "Stats"
}
},
// target amd loader shim as the main module, path is relative to baseUrl.
name: "lib/vendor/almond",
optimize: "uglify",
// files to include along with almond. only lib/skeleton.js is defined, as
// it pulls in the rest of the dependencies automatically.
include: [ "src/asteroids-app" ],
// build file destination, relative to the build file itself
out: "build/ashteroids.min.js"
});