Skip to content

Commit

Permalink
Merge pull request #3920 from probins/patch-1
Browse files Browse the repository at this point in the history
Remove use_types_for_optimization from custom build tutorial.
  • Loading branch information
tschaub committed Aug 1, 2015
2 parents 935eb63 + 76d36d4 commit 25603d7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions doc/tutorials/custom-builds.md
Expand Up @@ -72,7 +72,6 @@ Creating a custom build requires writing a build configuration file. The format
"api", "observable"
],
"compilation_level": "ADVANCED_OPTIMIZATIONS",
"use_types_for_optimization": true,
"manage_closure_dependencies": true
}
}
Expand Down Expand Up @@ -180,7 +179,7 @@ The Closure documentation explains that "externs" are for external names used in

### Other compiler options

There are a couple of other compiler options in the config file above. `manage_closure_dependencies` should always be used. `use_types_for_optimization` should be used for better compression rates.
There are a couple of other compiler options in the config file above. `manage_closure_dependencies` should always be used.

You can specify any of the other compiler options here as needed, such as the renaming reports, output manifest, or source maps. There is a full list of available options in [closure-util](https://github.com/openlayers/closure-util/blob/master/compiler-options.txt).

Expand Down Expand Up @@ -219,7 +218,6 @@ Now let's try a more complicated example: [`heatmaps-earthquakes`](http://openla
"goog.DEBUG=false"
],
"compilation_level": "ADVANCED_OPTIMIZATIONS",
"use_types_for_optimization": true,
"manage_closure_dependencies": true
}
}
Expand Down

0 comments on commit 25603d7

Please sign in to comment.