Commit 4951587
committed
transform: Add ability to pass ast instead of source string and return ast as well
Eventually, vite will gain support for being a little smarter with working with js-side AST, so let's prepare for that.1 parent b3362ea commit 4951587
1 file changed
Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
783 | 783 | | |
784 | 784 | | |
785 | 785 | | |
786 | | - | |
| 786 | + | |
| 787 | + | |
| 788 | + | |
| 789 | + | |
| 790 | + | |
| 791 | + | |
787 | 792 | | |
788 | 793 | | |
789 | 794 | | |
790 | | - | |
| 795 | + | |
791 | 796 | | |
792 | 797 | | |
793 | 798 | | |
| 799 | + | |
| 800 | + | |
| 801 | + | |
794 | 802 | | |
0 commit comments