We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4168e80 commit 2b87665Copy full SHA for 2b87665
packages/vite/src/node/plugins/resolve.ts
@@ -351,9 +351,11 @@ export function oxcResolvePlugin(
351
return newResolvedId === resolvedId ? undefined : newResolvedId
352
},
353
resolveSubpathImports(id, importer, isRequire, scan) {
354
- options.isRequire = resolveOptions.isRequire ?? isRequire
355
- options.scan = scan
356
- return resolveSubpathImports(id, importer, options)
+ return resolveSubpathImports(id, importer, {
+ ...options,
+ isRequire: resolveOptions.isRequire ?? isRequire,
357
+ scan,
358
+ })
359
360
361
...(partialEnv.config.command === 'serve'
0 commit comments