Fast dev mode
HMR for your UI and fast reloads for content and background scripts.
$ wxtNext-Gen Web Extension Framework
An open source tool that makes web extension development faster than ever before.
One toolchain from the first scaffold to the store submission. No separate build scripts to maintain.
$
Drop a file in entrypoints/ and WXT wires up the manifest, bundling, and reloading.
1export default defineBackground(() => {2 console.log('Hello background!', { id: browser.runtime.id });3});1{2 "background": {3 "service_worker": "background.js"4 }5}Write your extension once. WXT takes care of the browser-specific builds.
Your project
Browser builds
Manifest generation, a dev server, and release zips come built in. Add a frontend framework when you need one.
HMR for your UI and fast reloads for content and background scripts.
$ wxtDrop a file in entrypoints/ and WXT wires it into the manifest.
entrypoints/popup/index.htmlpopup.htmlCreate large projects with confidence. WXT generates the types for your project.
Browser APIs and WXT utilities are imported for you, Nuxt style.
Works with any frontend framework that has a Vite plugin.
Zip, upload, and submit to the stores without a separate release script.
Battle tested and ready for production. Explore web extensions made with WXT.
WXT is a MIT-licensed open source project with its ongoing development made possible entirely by the support of these awesome backers. If you'd like to join them, please consider sponsoring WXT's development.