Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7fa7d78

Browse files
authored
fix: do not exclude node_modules when searching components (#2082)
1 parent d2394cc commit 7fa7d78

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/slidev/node/vite/components.ts

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ export function createComponentsPlugin(
1414
join(clientRoot, 'builtin'),
1515
...roots.map(i => join(i, 'components')),
1616
],
17+
globsExclude: [],
1718

1819
include: [/\.vue$/, /\.vue\?vue/, /\.vue\?v=/, /\.md$/, /\.md\?vue/],
1920
exclude: [],

0 commit comments

Comments
 (0)