Improve docs for define tag

This commit is contained in:
Peter Robins
2014-07-02 06:43:20 -04:00
parent 242787da45
commit 2e1957c42c
2 changed files with 23 additions and 6 deletions

View File

@@ -82,6 +82,7 @@ To export the `ol` symbol to somewhere other than the global namespace, a `names
}
```
The `defines` section of `build.json` above lists common settings for the Closure library in production code. The OL3 library also defines constants that can be set in this section at compile time. These are all defined in the `ol.js` source file; see the comments in this file to see what effect setting these would have. Some of them can reduce the size of the build in advanced mode.
## `generate-exports.js`