-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.js
37 lines (20 loc) · 781 Bytes
/
build.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
{
// Use the configuration used by index.js.
mainConfigFile: "config.js",
// Find `require` statements inside `require` statements.
findNestedDependencies: true,
// Follow dependencies from index.js and concatenate them into the built version.
modules: [ {
name: "index"
} ],
// Build into `dist`.
dir: "dist",
// Don't include files concatenated into index.js in the build.
removeCombined: true,
// Don't build standalone versions of files other than index.js.
skipDirOptimize: false,
// Don't copy these into the `dist` directory.
fileExclusionRegExp: /^\.|^(package.json|node_modules|bower.json|test|testem.yml|npm.*.log)$/,
// Don't minify the concatenated files.
optimize: "none",
}