forked from abrobston/jscc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
require-nashorn-build.js
33 lines (33 loc) · 1.03 KB
/
require-nashorn-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
({
"mainConfigFile": "./require-nashorn-config.js",
"baseUrl": ".",
"pragmas": {
"closure": true,
"nashorn": true
},
"has": {
"node": false
},
"optimize": "closure",
"preserveLicenseComments": false,
"generateSourceMaps": true,
"closure": {
"CompilerOptions": {
"language": com.google.javascript.jscomp.CompilerOptions.LanguageMode.ECMASCRIPT5,
"checkSymbols": true,
"checkTypes": true
},
"CompilationLevel": "ADVANCED_OPTIMIZATIONS",
"loggingLevel": "FINE",
"externExportsPath": "./externs.js"
},
"name": "bin/almond",
"include": ["main"],
"stubModules": ["text"],
"wrap": {
"startFile": ["fileoverview.js", "typedef.js", "global-backfills.js", "lib/jscc/io/io.js", "lib/jscc/log/log.js", "lib/jscc/bitset/bitset.js"],
"endFile": ["exports.js", "exports-require.js", "require-nashorn-config.js", "require-main.js"]
},
"out": "./bin/jscc-nashorn.js",
"logLevel": 2
})