Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exclude comonents by filename #748

Closed
5 tasks done
cirolosapio opened this issue Apr 29, 2024 · 2 comments · Fixed by #773
Closed
5 tasks done

Exclude comonents by filename #748

cirolosapio opened this issue Apr 29, 2024 · 2 comments · Fixed by #773

Comments

@cirolosapio
Copy link

Describe the bug

I'm trying to exclude some components by filename but they are always included in the components.d.ts file

Reproduction

https://stackblitz.com/edit/vitejs-vite-dkyihs?file=components.d.ts&terminal=dev

System Info

System:
    OS: Linux 5.0 undefined
    CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 0 Bytes / 0 Bytes
    Shell: 1.0 - /bin/jsh
  Binaries:
    Node: 18.18.0 - /usr/local/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 10.2.3 - /usr/local/bin/npm
    pnpm: 8.15.6 - /usr/local/bin/pnpm

Used Package Manager

npm

Validations

  • Follow our Code of Conduct
  • Read the Contributing Guide.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.
Copy link

stackblitz bot commented Apr 29, 2024

Fix this issue in StackBlitz Codeflow Start a new pull request in StackBlitz Codeflow.

@Kanade-Lu
Copy link
Contributor

#420
you can solve it by "globs" like
globs: [
'!src/components/**/excludes/*.vue',
]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants