Commit cb99414
authored
This change effectively reverts 4dac6d6.
It turns out that there is at least one use case where accessing the
partially constructed module prior to the promise resolution is
necessary. Specifically when using `--preload-files` the file packager
output expects to be able to use the `Module.FS` functions before the
module is loaded. This PR adds a test for this scenario.
1 parent 27b3050 commit cb99414
2 files changed
+26
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3587 | 3587 | | |
3588 | 3588 | | |
3589 | 3589 | | |
| 3590 | + | |
| 3591 | + | |
| 3592 | + | |
| 3593 | + | |
| 3594 | + | |
| 3595 | + | |
| 3596 | + | |
| 3597 | + | |
| 3598 | + | |
| 3599 | + | |
| 3600 | + | |
| 3601 | + | |
| 3602 | + | |
| 3603 | + | |
| 3604 | + | |
| 3605 | + | |
| 3606 | + | |
| 3607 | + | |
| 3608 | + | |
| 3609 | + | |
| 3610 | + | |
| 3611 | + | |
| 3612 | + | |
| 3613 | + | |
| 3614 | + | |
3590 | 3615 | | |
3591 | 3616 | | |
3592 | 3617 | | |
| |||
6497 | 6522 | | |
6498 | 6523 | | |
6499 | 6524 | | |
6500 | | - | |
6501 | | - | |
6502 | | - | |
6503 | | - | |
6504 | | - | |
6505 | | - | |
6506 | | - | |
6507 | | - | |
6508 | | - | |
6509 | | - | |
6510 | | - | |
6511 | | - | |
6512 | | - | |
6513 | 6525 | | |
6514 | 6526 | | |
6515 | 6527 | | |
| |||
0 commit comments