We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d51b953 commit 232a0f4Copy full SHA for 232a0f4
src/core/fs/glob.ts
@@ -7,7 +7,8 @@ const debug = Debug('unplugin-vue-components:glob')
7
export function searchComponents(ctx: Context) {
8
debug(`started with: [${ctx.options.globs.join(', ')}]`)
9
const root = ctx.root
10
-
+
11
+ ctx.options.globs = ctx.options.globs.map((dir) => fg.convertPathToPattern(dir))
12
const files = fg.sync(ctx.options.globs, {
13
ignore: ['node_modules'],
14
onlyFiles: true,
0 commit comments