Commit b4d8041
committed
Fix -sMODULARIZE + -sLEGACY_VM_SUPPORT
When we run babel in `-sMODULARIZE` mode the input to babel contains
`await` calls. This code appears to be top-level code at the point
at which we run babel since we have yet to perform the modularization
process which wraps the output in a factory function.
Fixes: #236871 parent c50c33d commit b4d8041
3 files changed
+4
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | 64 | | |
70 | 65 | | |
71 | 66 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7098 | 7098 | | |
7099 | 7099 | | |
7100 | 7100 | | |
| 7101 | + | |
| 7102 | + | |
| 7103 | + | |
7101 | 7104 | | |
7102 | 7105 | | |
7103 | 7106 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
511 | 511 | | |
512 | 512 | | |
513 | 513 | | |
514 | | - | |
| 514 | + | |
515 | 515 | | |
516 | 516 | | |
517 | 517 | | |
| |||
0 commit comments