Skip to content

Commit

Permalink
fix: revert convertPathToPattern
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Sep 14, 2023
1 parent 9c7a309 commit e5ccce1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/core/fs/glob.ts
Expand Up @@ -7,8 +7,6 @@ const debug = Debug('unplugin-vue-components:glob')
export function searchComponents(ctx: Context) {
debug(`started with: [${ctx.options.globs.join(', ')}]`)
const root = ctx.root

ctx.options.globs = ctx.options.globs.map(dir => fg.convertPathToPattern(dir))
const files = fg.sync(ctx.options.globs, {
ignore: ['node_modules'],
onlyFiles: true,
Expand Down

0 comments on commit e5ccce1

Please sign in to comment.