File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
src/content/configuration Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -466,7 +466,7 @@ The generated output will be defined with the name "MyLibrary", i.e.
466
466
467
467
` ` ` js
468
468
define (" MyLibrary" , [], function () {
469
- // This module return value is what your entry chunk returns
469
+ return _entry_return_;
470
470
});
471
471
` ` `
472
472
@@ -482,7 +482,7 @@ If `output.library` is undefined, the following is generated instead.
482
482
483
483
` ` ` js
484
484
define ([], function () {
485
- // This module returns is what your entry chunk returns
485
+ return _entry_return_;
486
486
});
487
487
` ` `
488
488
@@ -512,8 +512,8 @@ And finally the output is:
512
512
exports [" MyLibrary" ] = factory ();
513
513
else
514
514
root[" MyLibrary" ] = factory ();
515
- })(this , function () {
516
- // what this module returns is what your entry chunk returns
515
+ })(typeof self !== ' undefined ' ? self : this , function () {
516
+ return _entry_return_;
517
517
});
518
518
` ` `
519
519
@@ -537,8 +537,8 @@ The output will be:
537
537
var a = factory ();
538
538
for (var i in a) (typeof exports === ' object' ? exports : root)[i] = a[i];
539
539
}
540
- })(this , function () {
541
- // what this module returns is what your entry chunk returns
540
+ })(typeof self !== ' undefined ' ? self : this , function () {
541
+ return _entry_return_;
542
542
});
543
543
` ` `
544
544
You can’t perform that action at this time.
0 commit comments