Commit ce7cf25
committed
chore(button-component): update
- `@vitejs/plugin-react` added support for `vite@v7` since `v4.5.2`.
- required adding `react` as peer dependency of `@lib/components` to prevent
resolve import errors of `react/jsx-runtime` on `build`
- `typescript` to `v5.5+` due to changes of `@vitejs/plugin-react` in
`v5.0.0`
- similar issue: vitejs/vite-plugin-react#985
- change: vitejs/vite-plugin-react@b9efa3f#diff-d1f942b9a74f586a80bca3733150b7c692a6460e8350bc19cbbad1d53f95b356
- `sass` to `1.70.0+` due to changes in peer deps of `vite@v6.3.10`
- pr: vitejs/vite#19979
- `@use` rule instead of `@import`. `@import` is deprecated since `v1.80.0`vite to v7
1 parent 537d04c commit ce7cf25
File tree
6 files changed
+569
-43
lines changed- legacy/button-component
- lib/css
- libs/components
6 files changed
+569
-43
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
21 | 26 | | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
| 27 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
4 | 4 | | |
5 | | - | |
6 | | - | |
| 5 | + | |
| 6 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
11 | 14 | | |
12 | 15 | | |
0 commit comments