Skip to content

build output not written to the correct folder #8865

@tylersayshi

Description

@tylersayshi

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

  1. Make any change in packages/query-core to invalidate the nx cache
  2. 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

image

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions