chrome-extension-wxt
Installation
SKILL.md
Browser Extensions with WXT
WXT is a Vite-based framework that builds one codebase for Chrome, Firefox, Edge and Safari. It generates the manifest from files in entrypoints/, so there is no manifest.json in the source tree.
Verified against wxt@0.21.5. WXT 0.21 needs Node >= 22, and vite (^6.3.4, ^7 or ^8) is a required peer dependency.
Before you start
- Confirm it is a WXT project:
wxt.config.tsexists andwxtis inpackage.json. If not, do not migrate the project unasked; the WXT sections do not apply, butreferences/chrome-mv3.mdstill does. - Check the installed
wxtversion. This skill targets 0.21. Below 0.20 the import paths and several APIs differ: follow the upgrade guide before applying these patterns.