Commit c61f9bc
committed
fix: transpile @antfu/design in the Next hub build
Next/Turbopack has no loader for the bare .ts source @antfu/design
ships (utils/iconify.ts, now imported by design/dock-icon.ts) and
fails the production build with "Unknown module type". Add it to
transpilePackages so Next runs the package through its own transform,
matching how Vite already handles it.1 parent e6cb0db commit c61f9bc
1 file changed
Lines changed: 6 additions & 0 deletions
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
4 | 10 | | |
5 | 11 | | |
6 | 12 | | |
| |||
0 commit comments