[Cosmo-dev] Custom dojo build torch passing

Nicola Piccinini pic at superfluo.org
Thu Jan 4 16:50:07 PST 2007


> Unfortunately, the dojo build system isn't terribly sophisticated yet. 
> The way it works now, each of those files would be built with all of the 
> required dependencies, which means a good deal of code would be 
> duplicated in each.
> 
> This particular problem is actually a manifestation of the fact that 
> there is no way to specifically exclude certain modules from a build. 
> That is, if a module is dojo.required by any file in the build, its code 
> will always be sucked in as well. Solving this problem would be an 
> interesting and, I imagine, useful contribution to the dojo project, but 
> would take a number of cycles that we may want to use elsewhere for now.

as far as I know the jslinker subproject (in dojo/tools) is aimed to 
solve this problems but it doesn't seem under active development (last 
change is dated 2006-10-06)

-- 
Nicola Piccinini -- http://superfluo.org


More information about the cosmo-dev mailing list