Skip to content

Commit e5ccce1

Browse files
committed
fix: revert convertPathToPattern
1 parent 9c7a309 commit e5ccce1

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/core/fs/glob.ts

-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ const debug = Debug('unplugin-vue-components:glob')
77
export function searchComponents(ctx: Context) {
88
debug(`started with: [${ctx.options.globs.join(', ')}]`)
99
const root = ctx.root
10-
11-
ctx.options.globs = ctx.options.globs.map(dir => fg.convertPathToPattern(dir))
1210
const files = fg.sync(ctx.options.globs, {
1311
ignore: ['node_modules'],
1412
onlyFiles: true,

0 commit comments

Comments
 (0)