Commit 105bcc9
committed
fix: dedupe @unocss/core and match minified inline viewer style
The deps bump to unocss 66.10.2 left @antfu/design's optional
@unocss/core peer resolving to a stale 66.10.0, so the two copies of
its types made presetAnthonyDesign() unassignable in design/uno.config.ts
and broke every example typecheck. Pin @unocss/core to the unocss
override so one copy resolves.
Vite 8.3 also minifies the standalone viewer's inline <style>, so the
hub-ui background test now matches the CSS with whitespace stripped
instead of its authored spacing.1 parent c8e43f1 commit 105bcc9
3 files changed
Lines changed: 247 additions & 266 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
16 | 19 | | |
17 | 20 | | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
23 | 26 | | |
24 | 27 | | |
25 | 28 | | |
| |||
0 commit comments