Skip to content

aklinker1/vite-plugin-web-extension

Repository files navigation

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 within the next few months, 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

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.