Skip to content

Vite Plugin Web Extension

Modern Chrome extension development powered by Vite

Vite Plugin Web extension
🛠️

Build Files Listed in the Manifest

Point the plugin towards a manifest.json and the extension will automatically discover and build all the files listed in it.

Lightning Fast Dev Mode

Automatically open Chrome or Firefox with the extension installed. Supports HMR to iterate on your UIs quickly, and watch mode to rebuild content scripts on change.

🖥️

Frontend Framework Support

Add any frontend framework's vite plugin to use that framework anywhere in your extesion, including content scripts.

🌐

Cross-browser Support

Easily customize your manifest.json to build for multiple different browsers.

Manifest Validation

Easily customize your manifest.json to build for multiple different browsers.

🤖

TypeScript Support

First class, out-of-the-box TypeScript support with no additional configuration.

Create a New Project

To get started, bootstrap a project from scratch!

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

Released under the MIT License.