Repository navigation
Commit 6cec950
committed
chore: build tsup with its own source via tsx
Run `src/cli-default.ts` with tsx instead of depending on a published
tsup to build tsup. The dts worker path now follows the extension of the
running file so it resolves `rollup.ts` when running from source.
Also drops the `defineConfig` import in `tsup.config.ts`, which would
otherwise resolve to the installed copy of tsup.1 parent 6705d39 commit 6cec950
4 files changed
Lines changed: 33 additions & 389 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
| 98 | + | |
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| |||
0 commit comments