> ## Documentation Index
> Fetch the complete documentation index at: https://extension.js.org/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Extension.js needs Node.js 22.12 or newer; Node.js 18 and 20 do not work. It also runs on Deno 2.5+ and Bun 1.2+.
> The default browser target is chromium and a build lands in dist/<browser>, so dist/chromium by default. extension build writes a zip only when --zip is passed.
> Prefix a manifest key with a browser name when browsers differ. chromium: covers every Chromium-family target and Safari builds read it too. Since 4.1.19 chrome: means Chrome alone and edge: means Edge alone.
> Write one background.service_worker in manifest.json instead of hand-writing per-browser background keys; Extension.js converts it for each browser.
> package.json or deno.json marks the project root, not manifest.json. A config file is optional, and only extension.config.js, .mjs and .cjs are loaded, never .ts.
> The bundler is Rspack, extended through the config hook in extension.config.js. A project needs no separate bundler config file.
> Use --no-browser to skip the browser launch; --no-runner no longer exists and --no-open still launches the browser. Use --output for machine output; --format and --wait-format are deprecated.

# Extension development workflows

> Practical workflow guides for Extension.js covering CI setup, E2E testing with Playwright, performance tuning, security review, and troubleshooting.

Keep extension releases stable by combining debugging, security, performance, testing, and CI workflows.

## Workflow chooser

| Goal | Read this |
| - | - |
| Diagnose local failures quickly | [Troubleshooting](https://extension.js.org/docs/workflows/troubleshooting.md) |
| Understand dev reload outcomes | [dev update behavior](https://extension.js.org/docs/workflows/dev-update-behavior.md) |
| Lock down extension safety checks | [Security checklist](https://extension.js.org/docs/workflows/security-checklist.md) |
| Reduce runtime and startup regressions | [Performance playbook](https://extension.js.org/docs/workflows/performance-playbook.md) |
| Add end-to-end confidence checks | [Playwright E2E](https://extension.js.org/docs/workflows/playwright-e2e.md) |
| Set up CI templates | [CI templates](https://extension.js.org/docs/workflows/ci-templates.md) |
| Apply cross-command controls | [Global flags](https://extension.js.org/docs/workflows/global-flags.md) |
| Keep store paperwork in one file | [Store metadata (STORE.md)](https://extension.js.org/docs/workflows/store-metadata.md) |
| Ship to Chrome, Firefox, and Edge | [Publish to the browser stores](https://extension.js.org/docs/publishing.md) |

## Release confidence loop

1. Run targeted local checks (`dev` + troubleshooting).
2. Build production artifacts (`build` / `start`).
3. Validate critical flows with end-to-end (E2E) and smoke checks.
4. Run CI templates before store submission.

## Next steps

* Use [Commands reference](https://extension.js.org/docs/commands/index.md) to choose the right command per phase.
* Keep defaults centralized with [Extension configuration](https://extension.js.org/docs/features/extension-configuration.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.