We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7569e77 commit c1ba099Copy full SHA for c1ba099
lib/DojoAMDMainTemplatePlugin.js
@@ -133,6 +133,7 @@ module.exports = class DojoAMDMainTemplatePlugin {
133
buf.push(" window:{value:loaderScope},");
134
buf.push(" global:{value:loaderScope}");
135
buf.push("});");
136
+ // Remove evidence of any existing AMD loader or else the Dojo loader won't initialize properly.
137
buf.push("loaderScope.define = loaderScope.require = undefined");
138
139
const dojoLoaderModule = this.compilation.modules.find((module) => { return module.rawRequest === this.embeddedLoaderFilename;});
0 commit comments