Skip to content

Adding entry point breaks build in TSDown 0.15.2 #503

@overlookmotel

Description

@overlookmotel

Reproduction link or steps

I don't know if this is a helpful way to provide a repro case...

  1. This PR breaks pnpm tsdown in Oxc repo by adding an entry point to the build: test(DEMO): break tsdown oxc-project/oxc#14002
  2. Rolling back TSDown to v0.15.1 fixes it: test(DEMO): fix tsdown oxc-project/oxc#14003
  3. Updating TSDown to v0.15.2 breaks it again: test(DEMO): break tsdown again oxc-project/oxc#14004

Notes:

  • The only change between (2) and (3) is changing the version of TSDown. Version of transitive deps e.g. rolldown stays the same.
  • The contents of the new entry point file doesn't seem to matter. Even an empty file causes the error.
  • The command that's failing is pnpm tsdown run from apps/oxlint directory.
  • Note: Reason for pinning version of @rolldown/pluginutils is just because @rolldown/pluginutils@1.0.0-beta.38 is less than 24 hours old, and Oxc's pnpm-workspace.yaml contains minimumReleaseAge: 1440 # 1 day. I don't believe it's related to this issue.

If any further info I can provide, or this is not a helpful way to provide a bug repro, please let me know. Happy to do anything I can to isolate the fault - just tell me what to do!

What is expected?

see above

What is actually happening?

see above

Any additional comments?

No response

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions