@@ -5,13 +5,13 @@ import isNodeCoreModule from '@nolyfill/is-core-module'
55import debug from 'debug'
66import type { FileSystem , ResolveOptions , Resolver } from 'enhanced-resolve'
77import enhancedResolve from 'enhanced-resolve'
8- import { globSync } from 'tinyglobby'
98import { createPathsMatcher , getTsconfig } from 'get-tsconfig'
109import type { TsConfigResult } from 'get-tsconfig'
1110import type { Version } from 'is-bun-module'
1211import { isBunModule } from 'is-bun-module'
1312import isGlob from 'is-glob'
1413import stableHashExports from 'stable-hash'
14+ import { globSync } from 'tinyglobby'
1515
1616// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition -- esmodule interop
1717const stableHash = stableHashExports . default || stableHashExports
@@ -391,10 +391,9 @@ function initMappers(options: InternalResolverOptions) {
391391 const projectPaths = [
392392 ...new Set ( [
393393 ...configPaths . filter ( path => ! isGlob ( path ) ) ,
394- ...globSync (
395- [ ...configPaths . filter ( path => isGlob ( path ) ) , ...ignore ] ,
396- { expandDirectories : false }
397- ) ,
394+ ...globSync ( [ ...configPaths . filter ( path => isGlob ( path ) ) , ...ignore ] , {
395+ expandDirectories : false ,
396+ } ) ,
398397 ] ) ,
399398 ]
400399
0 commit comments