Commit ffbb445
Yui T
wip-Emit import call expression for commonjs
1 parent 369af08 commit ffbb445Copy full SHA for ffbb445
6 files changed
+66-9Lines changed: 66 additions & 9 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- src/compiler
- transformers/module
- tests/cases/conformance/es2018/dynamicImport
Expand file treeCollapse file tree
Open diff view settings
Collapse file
+1Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1644 | 1644 | |
1645 | 1645 | |
1646 | 1646 | |
| 1647 | + |
1647 | 1648 | |
1648 | 1649 | |
1649 | 1650 | |
|
Collapse file
+3-1Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
461 | 461 | |
462 | 462 | |
463 | 463 | |
464 | | - |
| 464 | + |
465 | 465 | |
466 | 466 | |
467 | 467 | |
| ||
2778 | 2778 | |
2779 | 2779 | |
2780 | 2780 | |
| 2781 | + |
2781 | 2782 | |
2782 | 2783 | |
2783 | 2784 | |
| ||
3698 | 3699 | |
3699 | 3700 | |
3700 | 3701 | |
| 3702 | + |
3701 | 3703 | |
3702 | 3704 | |
3703 | 3705 | |
|
Collapse file
src/compiler/transformers/module/module.ts
Copy file name to clipboardExpand all lines: src/compiler/transformers/module/module.ts+31-8Lines changed: 31 additions & 8 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
482 | 482 | |
483 | 483 | |
484 | 484 | |
485 | | - |
486 | | - |
487 | | - |
| 485 | + |
488 | 486 | |
489 | 487 | |
490 | 488 | |
| 489 | + |
| 490 | + |
| 491 | + |
| 492 | + |
| 493 | + |
| 494 | + |
| 495 | + |
| 496 | + |
| 497 | + |
| 498 | + |
| 499 | + |
| 500 | + |
| 501 | + |
| 502 | + |
| 503 | + |
| 504 | + |
| 505 | + |
| 506 | + |
| 507 | + |
| 508 | + |
| 509 | + |
| 510 | + |
| 511 | + |
| 512 | + |
| 513 | + |
491 | 514 | |
492 | 515 | |
493 | 516 | |
| ||
780 | 803 | |
781 | 804 | |
782 | 805 | |
783 | | - |
| 806 | + |
784 | 807 | |
785 | 808 | |
786 | 809 | |
| ||
822 | 845 | |
823 | 846 | |
824 | 847 | |
825 | | - |
| 848 | + |
826 | 849 | |
827 | 850 | |
828 | 851 | |
| ||
884 | 907 | |
885 | 908 | |
886 | 909 | |
887 | | - |
| 910 | + |
888 | 911 | |
889 | 912 | |
890 | 913 | |
| ||
907 | 930 | |
908 | 931 | |
909 | 932 | |
910 | | - |
| 933 | + |
911 | 934 | |
912 | 935 | |
913 | 936 | |
| ||
924 | 947 | |
925 | 948 | |
926 | 949 | |
927 | | - |
| 950 | + |
928 | 951 | |
929 | 952 | |
930 | 953 | |
|
Collapse file
+1Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
2282 | 2282 | |
2283 | 2283 | |
2284 | 2284 | |
| 2285 | + |
2285 | 2286 | |
2286 | 2287 | |
2287 | 2288 | |
|
Collapse file
tests/cases/conformance/es2018/dynamicImport/importCallExpressionInCJS1.ts
Copy file name to clipboard+11Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
Collapse file
tests/cases/conformance/es2018/dynamicImport/importCallExpressionInCJS2.ts
Copy file name to clipboard+19Lines changed: 19 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
0 commit comments