Skip to content
This repository was archived by the owner on Jun 14, 2024. It is now read-only.

Commit ac93586

Browse files
committed
update to 20160916.0.0
1 parent a557c78 commit ac93586

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ gulp.task('script', function() {
7676
.pipe(compiler({
7777
compilationLevel: 'SIMPLE',
7878
warningLevel: 'VERBOSE',
79+
outputWrapper: '(function(){\n%output%\n}).call(this)',
7980
jsOutputFile: 'output.min.js', // outputs single file
8081
createSourceMap: true,
8182
}))
@@ -88,16 +89,19 @@ gulp.task('script', function() {
8889
| Flag | Default | Usage |
8990
|----------------------------------|---------|-------|
9091
| angularPass | false | Generate $inject properties for AngularJS for functions annotated with @ngInject |
92+
| applyInputSourceMaps | true | Compose input source maps into output source map |
9193
| assumeFunctionWrapper | 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. |
9294
| checksOnly | false | Don't generate output. Run checks, but no optimization passes. |
9395
| compilationLevel | SIMPLE | Specifies the compilation level to use.<br /> Options: WHITESPACE_ONLY, SIMPLE, ADVANCED |
9496
| dartPass | false | |
97+
| defines | null | Overrides the value of variables annotated with `@define`, an object mapping names to primitive types |
9598
| env | BROWSER | Determines the set of builtin externs to load.<br /> Options: BROWSER, CUSTOM |
9699
| exportLocalPropertyDefinitions | false | |
97100
| generateExports | false | Generates export code for those marked with @export. |
98101
| languageIn | ES6 | Sets what language spec that input sources conform to. |
99102
| languageOut | ES5 | Sets what language spec the output should conform to. |
100103
| newTypeInf | false | Checks for type errors using the new type inference algorithm. |
104+
| outputWrapper | null | Interpolate output into this string, replacing the token `%output%` |
101105
| polymerPass | false | Rewrite Polymer classes to be compiler-friendly. |
102106
| preserveTypeAnnotations | false | |
103107
| processCommonJsModules | false | Process CommonJS modules to a concatenable form, i.e., support `require` statements. |

closure-compiler

Submodule closure-compiler updated 169 files

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "google-closure-compiler-js",
3-
"version": "20160828.0.1",
3+
"version": "20160916.0.0",
44
"description": "Check, compile, transpile, optimize and compress JavaScript with Closure Compiler in JS",
55
"main": "index.js",
66
"repository": {

0 commit comments

Comments
 (0)