vladshcherbin / rollup-plugin-copy

Copy files and folders using Rollup
270 stars 54 forks source link

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

Closed rkumorek closed 2 months ago

rkumorek commented 1 year ago

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.