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
Used Package Manager
pnpm
Logs
Validations
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
Used Package Manager
pnpm
Logs
Validations