CLI
This page lists the supported addfox CLI commands and options.
Basic Usage
Configure scripts in package.json
Commands
Common Options (Defaults + Config Mapping)
Supported Browsers List
The -b, --browser option supports the following browsers:
Examples
Entry Paths and HTML Templates
Entry paths passed to entry or discovered by the framework can point to either a script (.ts/.tsx/.js/.jsx) or an HTML template (.html).
- Script path: the framework uses the script as the build entry and auto-generates HTML for entries that need it.
- HTML path: you can write the entry path as
popup/index.html, but you must still tell the framework which script is the entry. Do this by addingdata-addfox-entryto a<script type="module">tag in the HTML, or by placing a sibling script file (index.ts/index.tsx) next to the HTML so the framework can resolve it automatically.
See Config-based Entry for details and examples.

