This repository has been archived by the owner on Jun 14, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 64
/
usage.txt
116 lines (64 loc) · 2.76 KB
/
usage.txt
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
usage: google-closure-compiler-js {OPTIONS} [FILES]
Compile FILES with google-closure-compiler-js.
If FILES or --jsCode is not given, read from stdin.
OPTIONS are:
-h --help
Show this message.
-v --version
Print the version number.
--angularPass (default: false)
Generate $inject properties for AngularJS for functions annotated with
@ngInject
--applyInputSourceMaps (default: true)
Compose input source maps into output source map
--assumeFunctionWrapper (default: false)
Enable additional optimizations based on the assumption that the output will
be wrapped with a function wrapper. This flag is used to indicate that
"global" declarations will not actually be global but instead isolated to the
compilation unit. This enables additional optimizations.
--checksOnly (default: false)
Don't generate output. Run checks, but no optimization passes.
--compilationLevel (default: SIMPLE)
Specifies the compilation level to use.
Options: WHITESPACE_ONLY, SIMPLE, ADVANCED
--dartPass (default: false)
--defines (default: null)
Overrides the value of variables annotated with `@define`, an object mapping
names to primitive types.
--env (default: BROWSER)
Determines the set of builtin externs to load.
Options: BROWSER, CUSTOM
--exportLocalPropertyDefinitions (default: false)
--externs
Additional paths to externs to use for this compile.
--generateExports (default: false)
Generates export code for those marked with @export.
--jsCode
Specifies the paths to source code to compile.
--languageIn (default: ES6)
Sets what language spec that input sources conform to.
--languageOut (default: ES5)
Sets what language spec the output should conform to.
--newTypeInf (default: false)
Checks for type errors using the new type inference algorithm.
--outputWrapper (default: null)
Interpolate output into this string, replacing the token `%output%`
--polymerVersion (default: null)
Specify the Polymer version pass to use.
--preserveTypeAnnotations (default: false)
--processCommonJsModules (default: false)
Process CommonJS modules to a concatenable form, i.e., support `require`
statements.
--renamePrefixNamespace
Specifies the name of an object that will be used to store all non-extern globals.
--rewritePolyfills (default: false)
Rewrite ES6 library calls to use polyfills provided by the compiler's runtime.
--useTypesForOptimization (default: false)
Enable or disable the optimizations based on available type information.
Inaccurate type annotations may result in incorrect results.
--warningLevel (default: DEFAULT)
Specifies the warning level to use.
Options: QUIET, DEFAULT, VERBOSE
--createSourceMap (default: false)
Generates a source map mapping the generated source file back to its original
sources.