Understand the core platform capabilities that make Extension.js practical for real-world browser extension development.
| Goal | Start here |
|---|---|
| Ship one codebase to multiple browsers | Cross-browser compatibility |
| Handle browser-specific manifest differences | Browser-specific manifest fields |
| Keep non-manifest assets organized | Special folders |
| Manage environment-specific behavior | Environment variables |
| Centralize build/runtime defaults | Extension configuration |
| Extend bundler behavior safely | Rspack configuration |
| Understand update behavior in dev mode | Page reload and HMR |
| Avoid path drift between source and output | Path resolution |
| Build and package for target matrices | Multi-platform builds |
cross-browser-compatibility).extension-configuration).rspack-configuration, environment-variables).multi-platform-builds).