Skip to content

Commit b12c87e

Browse files
committed
fix: do not exclude node_modules when searching components
1 parent 09bc8e3 commit b12c87e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/slidev/node/vite/components.ts

Lines changed: 1 addition & 0 deletions
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)