vercel/ncc

Build fails with `composite: true` in `tsconfig.json`

Open

#1212 aperta il 10 set 2024

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)JavaScript (273 fork)batch import
bughelp wanted

Metriche repository

Star
 (8841 star)
Metriche merge PR
 (Merge medio 31g 15h) (7 PR mergiate in 30 g)

Descrizione

I'm not sure if this is as designed or a bug. Any help is appreciated!

I have a npm workspace that uses TypeScript. All the packages have composite: true so they can be consumed by other packages using TypeScript references. When I try to use ncc to build one of the packages. the building fails. It succeeds if I set composite to false.

See the reproduction example in https://github.com/chubei-urus/ncc-demo.

Guida contributor