Skip to content

Commit 42384ba

Browse files
committed
fix: use absolute path for glob serach
1 parent 0709246 commit 42384ba

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/fs/glob.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ export function searchComponents(ctx: Context) {
1212
ignore: ['node_modules'],
1313
onlyFiles: true,
1414
cwd: root,
15+
absolute: true,
1516
})
1617

1718
if (!files.length && !ctx.options.customComponentResolvers?.length)

0 commit comments

Comments
 (0)