Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Build fails with composite: true in tsconfig.json #1212

Open
chubei-urus opened this issue Sep 10, 2024 · 0 comments
Open

Build fails with composite: true in tsconfig.json #1212

chubei-urus opened this issue Sep 10, 2024 · 0 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@chubei-urus
Copy link

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.

@styfle styfle added bug Something isn't working help wanted Extra attention is needed labels Sep 10, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants
@styfle @chubei-urus and others