i'm creating custom build dojo application. i've created following profile.js:
var profile = { basepath: "../../../", releasedir: "./releases/custom", packages: ['dojo', 'dijit', 'dojox' ], cssoptimize: 'comments', mini: true, optimize: 'comments', layeroptimize: 'comments', stripcontrole: 'all', selectorengine: 'lite', layers : { 'dojo/dojo': { include: ['dojo/dojo', 'dojo/domready', 'dojo/_base/declare', "dojo/on", "dojo/dom-attr", "dojo/dom-class", "dojo/query", "dojo/_base/lang", "dojo/request/xhr", "dojo/parser", "dojo/_base/connect", "dojo/deferredlist", "dojo/store/memory", "dojo/store/observable"], boot: true, custombase: true }, 'dijit/dijit' : { include: ["dijit/registry","dijit/form/textbox", "dijit/form/textarea", "dijit/form/combobox", "dijit/form/filteringselect", "dijit/form/checkbox", "dijit/form/button"], boot: true, custombase: true }, }, } the dojo/dojo.js created, dijit/dijit.js contains template text:
//>>built
undefined;
however, file dijit.js.uncompressed.js created correctly (998 kb).
why dojo build behaves way? error in configuration? dojo documentation quite enigmatic.
--edit--
it seems problem specifying output files. after changing 'dijit/dijit'enter code here 'dojo/dijit' file dijit.js created in dojo subdirectory. if want create build custom name, need create in dojo subdirectory too. otherwise empty file (containing undefined;) created.
Comments
Post a Comment