TypeScript MIT

vite-plugin-web-extension

Vite plugin for developing Chrome/Web Extensions

A

aklinker1

Dernière activité 6 avr. 2026
aklinker1/vite-plugin-web-extension

843

étoiles

60

forks

31

issues ouvertes

extensionvite

Ce README est souvent en anglais.

Important

vite-plugin-web-extension will soon be deprecated in favor of WXT, it's successor. While WXT is still in pre-release, it already supports everything this plugin does, is significantly more popular, and includes more features and bug fixes that aren't (and won't) be added to vite-plugin-web-extension.

If you're starting a new project, I'd recommend you use WXT instead. Once WXT v1.0 is released, I'll provide a more in-depth migration guide for existing projects and vite-plugin-web-extension will enter maintainence mode.

Build Status NPM Version NPM Downloads Vite Version

To get started quickly, bootstrap a new project!

npm create vite-plugin-web-extension
pnpm create vite-plugin-web-extension
yarn create vite-plugin-web-extension
bun create vite-plugin-web-extension

Features

  • 🔧 Automatically build inputs listed in your manifest.json
  • 🎉 Open a browser and install the extension during development
  • ⚡ Super fast dev mode
  • 🌐 Supports all browsers
  • 🔥 Full frontend framework support (popup, options, and content scripts)
  • 🤖 Typescript support out of the box!
  • ✅ Manifest validation

Documentation

To get started, checkout the docs:

https://vite-plugin-web-extension.aklinker1.io

Contributing

Special thanks to the contributors!

See the contributing docs to setup the project for development.

Projets similaires

A vite plugin for generating cross browser platform, ES module based web extensions.

TypeScriptvitevite-pluginweb-extension
Ssamrum
355 étoiles32

Build cross-browser extensions with native HMR and zero-config setup

TypeScriptchrome-extensionjavascriptmanifest-v2
Ccrxjs
4,2 k étoiles246

The cross-browser extension framework.

TypeScriptbrowser-extensionbuild-toolchrome-extension
Eextension-js
5,2 k étoiles139