Opened 9 years ago

Last modified 9 years ago

#16918 closed feature

load multiple modules via single script tag — at Version 1

Reported by: yulei Owned by: Rawld Gill
Priority: low Milestone: 1.9
Component: Loader Version: 1.8.3
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by bill)

when i use dojo.require(["moduleA","moduleB","moduleC"]); can it generate only one script tag like "<script src="url/to/server/dojo.package?moduleA&moduleB&moduleC"></scirpt>"

by this way ,the server can return only one javascript file which is compressed by server contains three modules.(in the server side can do a lot of cache works.)

i think dojo build is a little difficult to use. the build work should be black box for the javascript developer.

Change History (1)

comment:1 Changed 9 years ago by bill

Component: CoreLoader
Description: modified (diff)
Owner: set to Rawld Gill
Summary: load require modules by one timeload multiple modules via single script tag

Sort of a dup of #8646? Seems like something a user could do with their own AMD loader, but not something that we would want to add into dojo, now or for 2.0.

Note: See TracTickets for help on using tickets.