Interface: DirectoryOptions
Defined in: directory.ts:24
Options for directory.
Example
directory("content/posts", { exclude: "drafts/**", include: ["**\/*.md", "**\/*.mdx"] })Properties
exclude?
exclude?: Glob | readonly Glob[];Defined in: directory.ts:26
Glob patterns, relative to the directory, of files to leave out, eg "drafts/**".
include?
include?: Glob | readonly Glob[];Defined in: directory.ts:32
Glob patterns, relative to the directory, of files to load.
Default: "**/*.md"