Skip to content

Configuration reference

ExtForge reads its configuration from extforge.config.ts (or .js/.mjs) at the project root. The schema is permissive: unknown top-level keys produce a warning, not an error.

Top-level keys

KeyTypeDescription
rootstringOverride the project root. Defaults to the directory extforge is invoked from.
browsersArray<'chrome' | 'firefox' | 'edge' | 'safari'>Browsers to build for. ExtForge generates a per-browser manifest into dist/<browser>/.
manifestunknownThe MV3 manifest, ExtForge-flavored. Browser-specific quirks are handled automatically.
buildobject
devobject
framework'react' | 'vanilla'UI framework. Drives auto-injection of first-party plugins (e.g., presetReact() when set to react).
css'tailwind' | 'vanilla' | 'none'CSS strategy.
pluginsArray<unknown>List of ExtForge plugins. Both the V1 shape and the legacy thin shape are accepted.