We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c0afdf9 + 59656c9 commit a94baa6Copy full SHA for a94baa6
lib/UmdMainTemplatePlugin.js
@@ -105,7 +105,7 @@ UmdMainTemplatePlugin.prototype.apply = function(compilation) {
105
" else if(typeof define === 'function' && define.amd)\n" +
106
(requiredExternals.length > 0 ?
107
" define(" + externalsDepsArray(requiredExternals) + ", " + amdFactory + ");\n" :
108
- " define(" + amdFactory + ");\n"
+ " define([], " + amdFactory + ");\n"
109
) +
110
(this.name ?
111
" else if(typeof exports === 'object')\n" +
0 commit comments