A simple but powerful Vite plugin for developing browser extensions
// vite.config.ts
import webExtension from "vite-plugin-web-extension";
export default defineConfig({
plugins: [
webExtension({
manifest: "manifest.json",
assets: "assets",
}),
],
});
- 🔧 Automatically build inputs from in your
manifest.json
- 🎉 Automatically open a browser and install the extension during development
- ⚡ Super fast dev mode that automatically reloads your extension
- 🌐 Supports all browsers
- 🔥 Frontend frameworks for the popup, options page, and content scripts!
- 🤖 Typescript support out of the box!
- ✅ Manifest validation
To get started or learn more, checkout the docs:
https://vite-plugin-web-extension.aklinker1.io
Special thanks to the contributors!
See the contributing docs to setup the project for development.