[Dojo-interest] Using DojoBuilder to create dojo build in only one file
jburke at dojotoolkit.org
Sat Aug 4 01:50:41 UTC 2007
Some modules depend on supporting resources, which are normally stored
with the module, so there is no generic solution that would give you
just one JS file as an output. There has been some investigation on
providing a slimmed down build that gives you just the files you need,
but that is still a work in progress.
If you are lucky and you do a custom build with modules that do not
need any resources, that might work, but that configuration is not a
When you do a custom build, it should be possible that the modules are
all baked into dojo.js (in Dojo 0.4.x). But it is still recommended
that you deliver the src directory so you get the other resources that
a module might need.
On 8/2/07, jduley <jason.duley at gmail.com> wrote:
> I am wondering if it's possible to create a custom dojo build where there is
> no src directory, rather, everything is bundled into only one file
> (dojo.js). Ideally, I would like to be able to accomplish this using the
> Eclipse DojoBuilder utility if possible. As I understand it, when modules
> are "baked" into a custom build, this eliminates the requirement to do a
> dojo.require("module name") but still pulls the files in from the src
> directory which is what I want to avoid. Thanks.
> View this message in context: http://www.nabble.com/Using-DojoBuilder-to-create-dojo-build-in-only-one-file-tf4206144.html#a11964588
> Sent from the Dojo mailing list archive at Nabble.com.
> FAQ: http://dojotoolkit.org/support/faq
> Book: http://dojotoolkit.org/docs/book
> Forums: http://dojotoolkit.org/forum
> Dojo-interest at dojotoolkit.org
More information about the Dojo-interest