API > wxt > FlatEntrypointFinder
Class: FlatEntrypointFinder
WXT's default entrypoint finder. It looks up entrypoints using a flat folder structure inside the entrypoints. directory, as described in the docs: https://wxt.dev/guide/essentials/entrypoints.html
Contents
Implements
Constructors
new FlatEntrypointFinder(config)
new FlatEntrypointFinder(
config):FlatEntrypointFinder
Parameters
▪ config: ResolvedConfig
Source
packages/wxt/src/core/entrypoint-finders/flat.ts:70
Properties
config
config:
ResolvedConfig
Source
packages/wxt/src/core/entrypoint-finders/flat.ts:70
Methods
findEntrypoints()
findEntrypoints():
Promise<EntrypointInfo[]>
Returns
A list of file paths (absolute or relative to wxt.config.rootDir) to load as entrypoints for.
Implementation of
EntrypointFinder.findEntrypoints
Source
packages/wxt/src/core/entrypoint-finders/flat.ts:72
Generated using typedoc-plugin-markdown and TypeDoc