The single externs/olx.js file describes all of the "options" objects we accept in our constructors. The @typedef annotations are used by the compiler for type checking. The @type annotations include documentation for individual options and serve as externs when compiling a profile of the library. When compiling an application together with the library, the externs/olx.js file is included as one of the sources to provide the @typedef's without generating externs. If we want to maintain multiple src/*.externs.js files instead of one large externs/olx.js file, we can. But while we are still using Plovr, it makes for easier build configurations to have one file. This removes the build tasks that generated the build/src/external/src/externs/types.js and build/src/internal/src/types.js files as those are both replaced by the single externs/olx.js file.
40 lines
669 B
JSON
40 lines
669 B
JSON
{
|
|
|
|
"id": "ol",
|
|
|
|
"css-allowed-unrecognized-properties": [
|
|
"user-select"
|
|
],
|
|
|
|
"css-inputs": [
|
|
"../css/ol.css"
|
|
],
|
|
|
|
"css-output-file": "../build/ol.css",
|
|
|
|
"externs": [
|
|
"../externs/bingmaps.js",
|
|
"../externs/closure-compiler.js",
|
|
"../externs/geojson.js",
|
|
"../externs/oli.js",
|
|
"../externs/olx.js",
|
|
"../externs/proj4js.js",
|
|
"../externs/tilejson.js",
|
|
"../externs/topojson.js",
|
|
"../externs/vbarray.js"
|
|
],
|
|
|
|
"inherits": "base.json",
|
|
|
|
"inputs": [
|
|
"../build/src/external/src/exports.js"
|
|
],
|
|
|
|
"output-wrapper": "// OpenLayers 3. see http://ol3js.org/\n(function(){%output%})();",
|
|
|
|
"paths": [
|
|
"../src"
|
|
]
|
|
|
|
}
|