File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
packages/vite/src/node/plugins Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -605,7 +605,7 @@ export async function toAbsoluteGlob(
605605
606606 const resolved = normalizePath (
607607 ( await resolveId ( glob , importer , {
608- custom : { 'glob-imports ' : isSubImportsPattern } ,
608+ custom : { 'vite:import-glob ' : { isSubImportsPattern } } ,
609609 } ) ) || glob ,
610610 )
611611 if ( isSubImportsPattern ) {
Original file line number Diff line number Diff line change @@ -186,7 +186,7 @@ export function resolvePlugin(resolveOptions: InternalResolveOptions): Plugin {
186186 if ( resolvedImports ) {
187187 id = resolvedImports
188188
189- if ( resolveOpts . custom ?. [ 'glob-imports' ] ) {
189+ if ( resolveOpts . custom ?. [ 'vite:import-glob' ] ?. isSubImportsPattern ) {
190190 return id
191191 }
192192 }
You can’t perform that action at this time.
0 commit comments