File tree Expand file tree Collapse file tree 3 files changed +10886
-14819
lines changed Expand file tree Collapse file tree 3 files changed +10886
-14819
lines changed Original file line number Diff line number Diff line change 79
79
"@nolyfill/is-core-module" : " 1.0.39" ,
80
80
"debug" : " ^4.3.7" ,
81
81
"enhanced-resolve" : " ^5.15.0" ,
82
- "fast-glob" : " ^3.3.2" ,
83
82
"get-tsconfig" : " ^4.7.5" ,
84
83
"is-bun-module" : " ^1.0.2" ,
85
84
"is-glob" : " ^4.0.3" ,
86
- "stable-hash" : " ^0.0.4"
85
+ "stable-hash" : " ^0.0.4" ,
86
+ "tinyglobby" : " ^0.2.10"
87
87
},
88
88
"devDependencies" : {
89
89
"@1stg/eslint-config" : " 7" ,
Original file line number Diff line number Diff line change @@ -5,16 +5,14 @@ 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 fg from 'fast-glob '
8
+ import { globSync } from 'tinyglobby '
9
9
import { createPathsMatcher , getTsconfig } from 'get-tsconfig'
10
10
import type { TsConfigResult } from 'get-tsconfig'
11
11
import type { Version } from 'is-bun-module'
12
12
import { isBunModule } from 'is-bun-module'
13
13
import isGlob from 'is-glob'
14
14
import stableHashExports from 'stable-hash'
15
15
16
- const { globSync } = fg
17
-
18
16
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition -- esmodule interop
19
17
const stableHash = stableHashExports . default || stableHashExports
20
18
@@ -393,7 +391,10 @@ function initMappers(options: InternalResolverOptions) {
393
391
const projectPaths = [
394
392
...new Set ( [
395
393
...configPaths . filter ( path => ! isGlob ( path ) ) ,
396
- ...globSync ( [ ...configPaths . filter ( path => isGlob ( path ) ) , ...ignore ] ) ,
394
+ ...globSync (
395
+ [ ...configPaths . filter ( path => isGlob ( path ) ) , ...ignore ] ,
396
+ { expandDirectories : false }
397
+ ) ,
397
398
] ) ,
398
399
]
399
400
You can’t perform that action at this time.
0 commit comments