Repository navigation
Commit 1cad459
committed
build: switch from microbundle to tsdown and add CI
Build ESM and CommonJS with tsdown 0.21, which still runs on Node 22.13.
CommonJS entries are built one by one: in a shared build rolldown puts its
interop helpers in index.cjs, so core.cjs and native.cjs would require it and
load DOMPurify. publint runs after every build.
Drop the UMD and legacy .module.mjs outputs, and raise the size limits by the
86 B and 10 B the new output costs. CI runs tests and the size check on
pushes and pull requests to main.1 parent 6a92efd commit 1cad459
5 files changed
Lines changed: 5927 additions & 11940 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
0 commit comments