Commit 602dfee
chore: stop emitting declarations from the esm and cjs build passes
`@rocket.chat/tsconfig/client.json` turns `declaration` and `declarationMap`
on, so all three `tsc` passes emitted `.d.ts` and `.d.ts.map` files. Only the
third one is referenced: `types` points at `dist/ts/index.d.ts`, leaving the
copies in `dist/esm` and `dist/cjs` as dead weight in the tarball. Turned off
for the two passes that only need JS, so `dist/ts` is the single source of
types.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent e87d106 commit 602dfee
2 files changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
8 | 10 | | |
9 | 11 | | |
10 | 12 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
8 | 10 | | |
9 | 11 | | |
10 | 12 | | |
0 commit comments