Description
Describe the bug
when running pnpm build
to double check the output for #8862 I noticed that many files were generated from either tsc or tsup.
Your minimal, reproducible example
n/a
Steps to reproduce
- Make any change in packages/query-core to invalidate the nx cache
pnpm build
Expected behavior
From the configs it looks like they should be written to dist-ts
, build/modern
, or build/legacy
. It'd be helpful to get the intended output clarified, but I'm happy to help with another PR for this.
How often does this bug happen?
Every time
Screenshots or Videos

Platform
System:
OS: macOS 15.3.2
CPU: (8) arm64 Apple M3
Memory: 215.98 MB / 16.00 GB
Shell: 3.7.1 - /opt/homebrew/bin/fish
Binaries:
Node: 22.12.0 - ~/.local/state/fnm_multishells/35918_1743092657466/bin/node
pnpm: 9.15.0 - ~/Library/pnpm/pnpm
Tanstack Query adapter
None
TanStack Query version
latest
TypeScript version
No response
Additional context
No response
Metadata
Metadata
Assignees
Labels
No labels