Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#13008 closed defect (fixed)

dojo/_base/loader not included in dojo.js

Reported by: Ming Zhe Huang Owned by: Rawld Gill
Priority: high Milestone: 1.7
Component: BuildTools Version: 1.6.1
Keywords: Cc:
Blocked By: Blocking:

Description

OS: Win7 X64 JVM: 6 Optimizer: Shrinksafe JS Engine: Rhino Profile: standard Cmd line: build.bat action=release profile=standard cssOptimize=comments.keepLines optimize=shrinksafe layerOptimize=shrinksafe releaseDir=g:/temp/dojo

Please try the test_dojo.html and profile the network. You'll find that dojo/_base/loader is loaded, though most of the modules under dojo/_base are merged into dojo.js

Attachments (2)

test_dojo.html (405 bytes) - added by Ming Zhe Huang 8 years ago.
test page
build-report.txt (78.6 KB) - added by Ming Zhe Huang 8 years ago.
build report

Download all attachments as: .zip

Change History (7)

Changed 8 years ago by Ming Zhe Huang

Attachment: test_dojo.html added

test page

Changed 8 years ago by Ming Zhe Huang

Attachment: build-report.txt added

build report

comment:1 Changed 8 years ago by bill

Owner: changed from James Burke to Rawld Gill

comment:2 Changed 8 years ago by Rawld Gill

Status: newassigned

comment:3 Changed 8 years ago by Rawld Gill

Milestone: tbd1.7

comment:4 Changed 8 years ago by Rawld Gill

Resolution: fixed
Status: assignedclosed

(In [25183]) changed default static has feature values for build; improved dojo/has builder plugin to be less aggressive including modules; fixes #13008; !strict

comment:5 Changed 8 years ago by Rawld Gill

dojo/_base/loader is conditionally included based on the has feature "dojo-sync-loader". [25183] changes the default static has feature value of dojo-sync-loader to true. This may be changed in the profile by providing a different static has feature value together with a different default configuration for that value. For example, the following profile causes the synchronous loader to be loaded based on run-time (rather than build-time) configuration (defaulting to true)

dependencies = {
	staticHasFeatures:{
		"dojo-sync-loader":-1 // -1 is a special value saying "not static"
	},
	defaultConfig:{
		hasCache:{
			"dojo-sync-loader":1
		}
	}
};
Note: See TracTickets for help on using tickets.