-
Notifications
You must be signed in to change notification settings - Fork 135
Description
Describe the bug
When using tsdown, if tsdown.config.ts is configured in the project root, running the tsdown command inside a subpackage will traverse upward and read the configuration from the root directory.
However, when using vp pack in vite-plus, the command does not traverse parent directories to read configuration defined in vite.config.ts.
It would be helpful if vp pack could support similar behavior: when executed inside a subdirectory (such as a subpackage in a monorepo), it should traverse upward and load configuration from the nearest vite.config.ts, including the pack configuration.
This would make it easier to use vite-plus in monorepo setups where the shared configuration is defined at the repository root.
Reproduction
null
Steps to reproduce
No response
System Info
vp packUsed Package Manager
pnpm
Logs
Validations
- Read the Contributing Guidelines.
- Check that there isn't already an issue for the same bug.
- Confirm this is a Vite+ issue and not an upstream issue (Vite, Vitest, tsdown, Rolldown, or Oxc).
- The provided reproduction is a minimal reproducible example.
Reactions are currently unavailable
Metadata
Metadata
Labels
No labels
Type
Fields
Give feedbackPriority
None yet
Effort
None yet