sample skeleton application with dojo toolkit & arcgis js api v 4.30
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

13 lines
406 B

//assumes cwd of util/buildscripts
//TODO: could take profile and compression option as args
load("jslib/logger.js");
load("jslib/fileUtil.js");
load("jslib/buildUtil.js");
var result = buildUtil.makeDojoJs(buildUtil.loadDependencyList(buildUtil.evalProfile("profiles/base.profile.js")), "0.0.0");
var layer0 = buildUtil.optimizeJs(null, result[0].contents, null, "shrinksafe");
print(layer0.length);