Reproduction link or steps
test case in PR I am submitting
What is expected?
to match the files at the subpath import
What is actually happening?
Failing to resolve the subpath import

SS from my local repo. Basically it should have resovled to `/home/kalvens/mono3/apps/src/hooks/*.ts`
System Info
System:
OS: Linux 6.18 Alpine Linux
CPU: (16) x64 Common KVM processor
Memory: 21.88 GB / 62.81 GB
Container: Yes
Shell: 5.3.3 - /bin/bash
Binaries:
Node: 24.13.0 - /usr/bin/node
npm: 11.11.0 - /usr/bin/npm
pnpm: 10.29.3 - /home/kalvens/.local/share/pnpm/pnpm
bun: 1.3.3 - /home/kalvens/.bun/bin/bun
Browsers:
Chromium: 146.0.7680.153
Any additional comments?
from what I could gather from AI, https://github.com/vitejs/vite/blob/v8.0.0/packages/vite/src/node/plugins/resolve.ts#L491-L520 resolves the subpath to be relative to the importer so ../hooks/*.ts? But then it gets passed to rolldown based plugin and it thinks its relative to the root of the project?
Reproduction link or steps
test case in PR I am submitting
What is expected?
to match the files at the subpath import
What is actually happening?
Failing to resolve the subpath import
System Info
System: OS: Linux 6.18 Alpine Linux CPU: (16) x64 Common KVM processor Memory: 21.88 GB / 62.81 GB Container: Yes Shell: 5.3.3 - /bin/bash Binaries: Node: 24.13.0 - /usr/bin/node npm: 11.11.0 - /usr/bin/npm pnpm: 10.29.3 - /home/kalvens/.local/share/pnpm/pnpm bun: 1.3.3 - /home/kalvens/.bun/bin/bun Browsers: Chromium: 146.0.7680.153Any additional comments?
from what I could gather from AI, https://github.com/vitejs/vite/blob/v8.0.0/packages/vite/src/node/plugins/resolve.ts#L491-L520 resolves the subpath to be relative to the importer so
../hooks/*.ts? But then it gets passed to rolldown based plugin and it thinks its relative to the root of the project?