You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: build/vendor-extra.d.ts
+13-1Lines changed: 13 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -266,6 +266,8 @@ type Options$1 = {
266
266
/**
267
267
Respect ignore patterns in `.gitignore` files that apply to the globbed files.
268
268
269
+
Performance note: This option searches for all `.gitignore` files in the entire directory tree before globbing, which can be slow. For better performance, use `ignoreFiles: '.gitignore'` to only respect the root `.gitignore` file.
270
+
269
271
@default false
270
272
*/
271
273
readonlygitignore?: boolean;
@@ -274,6 +276,8 @@ type Options$1 = {
274
276
275
277
This is a more generic form of the `gitignore` option, allowing you to find ignore files with a [compatible syntax](http://git-scm.com/docs/gitignore). For instance, this works with Babel's `.babelignore`, Prettier's `.prettierignore`, or ESLint's `.eslintignore` files.
276
278
279
+
Performance tip: Using a specific path like `'.gitignore'` is much faster than recursive patterns.
0 commit comments