Skip to content

Commit

Permalink
docs: note about exclude
Browse files Browse the repository at this point in the history
  • Loading branch information
posva committed Mar 2, 2023
1 parent 0350501 commit 8b40329
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ export interface ResolvedOptions {
routesFolder: RoutesFolderOption[]

/**
* Array of `picomatch` globs to ignore. Defaults to `[]`.
* Array of `picomatch` globs to ignore. Defaults to `[]`. Note the globs are relative to the `routesFolder`, so avoid
* writing something like `['src/pages']` as **it won't match anything**.
*/
exclude: string[]

Expand Down

0 comments on commit 8b40329

Please sign in to comment.