Skip to content

Commit cc504b8

Browse files
authoredMar 17, 2025··
fix(unplugin): include @compodium/examples in auto-imports paths (#3585)
1 parent 0897e9e commit cc504b8

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed
 

‎src/plugins/components.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,11 @@ export default function ComponentImportPlugin(options: NuxtUIOptions & { prefix:
2020

2121
const pluginOptions = defu(options.components, <ComponentsOptions>{
2222
dts: options.dts ?? true,
23-
exclude: [/[\\/]node_modules[\\/](?!\.pnpm|@nuxt\/ui)/, /[\\/]\.git[\\/]/, /[\\/]\.nuxt[\\/]/],
23+
exclude: [
24+
/[\\/]node_modules[\\/](?!\.pnpm|@nuxt\/ui|@compodium\/examples)/,
25+
/[\\/]\.git[\\/]/,
26+
/[\\/]\.nuxt[\\/]/
27+
],
2428
resolvers: [
2529
(componentName) => {
2630
if (overrideNames.has(componentName))

0 commit comments

Comments
 (0)
Please sign in to comment.