With this change, the only two remaining generated scripts are build/exports.js and build/test/requireall.js. Both are only required by Plovr. With the Node based build task, a temporary exports.js file is created. The Node based server can be used to run the tests without build/test/requireall.js.
40 lines
1.0 KiB
JSON
40 lines
1.0 KiB
JSON
{
|
|
|
|
// If ambiguate-properties and disambiguate-properties are set to true
|
|
// we get function names like "ol_control_Control_prototype$setMap" in
|
|
// the compiled code when using the SIMPLE compilation. It looks like
|
|
// "ambiguate-properties" and "disambiguate-properties" are only
|
|
// appropriate for ADVANCED compilation.
|
|
|
|
"ambiguate-properties": false,
|
|
|
|
"disambiguate-properties": false,
|
|
|
|
"id": "ol-simple",
|
|
|
|
"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": "ol.json",
|
|
|
|
"inputs": [
|
|
"../build/exports.js"
|
|
],
|
|
|
|
"mode": "SIMPLE",
|
|
|
|
// Note: we can't have a (function(){%output%})() output wrapper with
|
|
// WHITESPACE and SIMPLE modes. See this link for explanations:
|
|
// https://groups.google.com/forum/#!topic/plovr/gQyZEa2NpsU
|
|
"output-wrapper": "%output%"
|
|
}
|