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

Update default values in types (globby, fast-glob) #72

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

rkumorek
Copy link

Issue:
We are setting both onlyFiles and exxpandDirectories options to false here as they are set to true by default in globby and fast-glob.

In VSCode the autocomplete currently shows with @default: true text so I really assumed that it is really set to true before looking at source code.
Screenshot 2023-09-19 at 15 00 13

This PR changes the @default flag to false so it's inline with this rollup-plugin-copy options.
Screenshot 2023-09-19 at 15 05 44

Not sure if there is a better way of changing intellisense @default from 'true' to 'false'. I've copied the type declaraitions from both globby and fast-glob and just changed the default values.

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 this pull request may close these issues.

None yet

1 participant