Commit 04fc1a1
authored
Use Vite plugin type and return minimal version (#2672)
Ths change uses the Vite plugin type to annotate the Rollup plugin
internally. This means that we get full type checking support for the
implementation. However, the return type is annotated as our very
minimal plugin type. This way it’s compatible with Rollup, Vite, and
Rolldown, but we don’t need a dependency on Rollup.
`@rollup/pluginutils` has an optional peer dependency on `rollup`, but
it’s not actually used. So it can be removed now.
Closes #26711 parent cc0da8e commit 04fc1a1
3 files changed
Lines changed: 6 additions & 37 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | 26 | | |
54 | 27 | | |
55 | 28 | | |
| |||
71 | 44 | | |
72 | 45 | | |
73 | 46 | | |
74 | | - | |
| 47 | + | |
| 48 | + | |
75 | 49 | | |
76 | 50 | | |
77 | 51 | | |
| |||
102 | 76 | | |
103 | 77 | | |
104 | 78 | | |
| 79 | + | |
| 80 | + | |
105 | 81 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | 66 | | |
71 | 67 | | |
72 | 68 | | |
| |||
0 commit comments