Develop web extensions using WXT
Prerequisites:
After installing Bun, run the following command to install the project dependencies:
bun install
Quick start
Use bun create
to quickly scaffold a new project. This will download the repo, install dependencies, and initialize .git
.
bun create metonym/template-wxt <folder-name>
bun run dev
bun run build
Alternatively, bun run package
goes a step further by zipping the build output into a .zip
file.
Misc. Notes
At a minimum, Chrome recommends a minimum of three icon sizes for the extension: