The profile.resourceTags.amd function of the package.js file was set to discard the dgrid/css/nodes, dgrid/html-report directories as pure AMD. In this way, the dojo/util build process will not throw errors.
Without this, the build process throw this errors:
error(307) Failed to evaluate module tagged as pure AMD (fell back to processing with regular expressions). module: dgrid/css/nodes/color-image; error: TypeError: Cannot read property 'nodes' of undefined
error(307) Failed to evaluate module tagged as pure AMD (fell back to processing with regular expressions). module: dgrid/css/nodes/gradient; error: TypeError: Cannot read property 'nodes' of undefined
error(307) Failed to evaluate module tagged as pure AMD (fell back to processing with regular expressions). module: dgrid/css/nodes/vendor-helpers; error: ReferenceError: module is not defined
error(307) Failed to evaluate module tagged as pure AMD (fell back to processing with regular expressions). module: dgrid/html-report/prettify; error: ReferenceError: window is not defined
error(307) Failed to evaluate module tagged as pure AMD (fell back to processing with regular expressions). module: dgrid/html-report/sorter; error: ReferenceError: window is not defined
The
profile.resourceTags.amd
function of the package.js file was set to discard the dgrid/css/nodes, dgrid/html-report directories as pure AMD. In this way, the dojo/util build process will not throw errors.Without this, the build process throw this errors: