@@ -5,13 +5,13 @@ import isNodeCoreModule from '@nolyfill/is-core-module'
5
5
import debug from 'debug'
6
6
import type { FileSystem , ResolveOptions , Resolver } from 'enhanced-resolve'
7
7
import enhancedResolve from 'enhanced-resolve'
8
- import { globSync } from 'tinyglobby'
9
8
import { createPathsMatcher , getTsconfig } from 'get-tsconfig'
10
9
import type { TsConfigResult } from 'get-tsconfig'
11
10
import type { Version } from 'is-bun-module'
12
11
import { isBunModule } from 'is-bun-module'
13
12
import isGlob from 'is-glob'
14
13
import stableHashExports from 'stable-hash'
14
+ import { globSync } from 'tinyglobby'
15
15
16
16
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition -- esmodule interop
17
17
const stableHash = stableHashExports . default || stableHashExports
@@ -391,10 +391,9 @@ function initMappers(options: InternalResolverOptions) {
391
391
const projectPaths = [
392
392
...new Set ( [
393
393
...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
+ } ) ,
398
397
] ) ,
399
398
]
400
399
0 commit comments