Commit 6d099a1
fix: exclude test files from build to prevent vite externalization errors
- Exclude `src/**/*.test.ts` from `vite.config.ts` build inputs.
- Add `@types/node` and include `node` in `tsconfig.json` types to support `node:test` and `node:assert` in tests.
- Verified build and type-check pass.
Co-authored-by: jaruesink <4207065+jaruesink@users.noreply.github.com>1 parent f234858 commit 6d099a1
File tree
4 files changed
+22
-1
lines changed- packages/components
4 files changed
+22
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| 90 | + | |
90 | 91 | | |
91 | 92 | | |
92 | 93 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
31 | 34 | | |
32 | 35 | | |
33 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1737 | 1737 | | |
1738 | 1738 | | |
1739 | 1739 | | |
| 1740 | + | |
1740 | 1741 | | |
1741 | 1742 | | |
1742 | 1743 | | |
| |||
4738 | 4739 | | |
4739 | 4740 | | |
4740 | 4741 | | |
| 4742 | + | |
| 4743 | + | |
| 4744 | + | |
| 4745 | + | |
| 4746 | + | |
| 4747 | + | |
| 4748 | + | |
| 4749 | + | |
| 4750 | + | |
4741 | 4751 | | |
4742 | 4752 | | |
4743 | 4753 | | |
| |||
11760 | 11770 | | |
11761 | 11771 | | |
11762 | 11772 | | |
| 11773 | + | |
| 11774 | + | |
| 11775 | + | |
| 11776 | + | |
| 11777 | + | |
| 11778 | + | |
| 11779 | + | |
11763 | 11780 | | |
11764 | 11781 | | |
11765 | 11782 | | |
| |||
0 commit comments