Vite currently uses exports field when resolving directory specifiers.
For example, when import './dir' is written, Vite uses exports field of ./dir/package.json if exists.
Node.js does not use exports field in this case (nodejs/node#58827). While Vite probably should not have supported this, there are some code that relies on this behavior (nuxt, Vitest). We prefer to not break these if possible.
To achieve that, it would be nice if oxc-resolver adds an option that opt-in to this behavior.
related: vitejs/vite#20252