An open API service indexing awesome lists of open source software.

https://github.com/aklinker1/vite-plugin-web-extension

Vite plugin for developing Chrome/Web Extensions
https://github.com/aklinker1/vite-plugin-web-extension

extension vite

Last synced: 13 days ago
JSON representation

Vite plugin for developing Chrome/Web Extensions

Awesome Lists containing this project

README

        

> [!IMPORTANT]
> `vite-plugin-web-extension` will soon be deprecated in favor of [WXT](https://wxt.dev), it's successor. While WXT is still in pre-release, it already supports everything this plugin does, [is significantly more popular](https://api.star-history.com/svg?repos=wxt-dev/wxt,aklinker1/vite-plugin-web-extension&type=Date), 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](https://wxt.dev/guide/installation.html#bootstrap-project). Once WXT v1.0 is released within the next few months, [I'll provide a more in-depth migration guide](https://wxt.dev/guide/resources/migrate.html#vite-plugin-web-extension) for existing projects and `vite-plugin-web-extension` will enter maintainence mode.

![Build Status](https://img.shields.io/github/actions/workflow/status/aklinker1/vite-plugin-web-extension/pr-checks.yml) ![NPM Version](https://img.shields.io/npm/v/vite-plugin-web-extension) ![NPM Downloads](https://img.shields.io/npm/dm/vite-plugin-web-extension) ![Vite Version](https://img.shields.io/npm/dependency-version/vite-plugin-web-extension/peer/vite)

To get started quickly, bootstrap a new project!

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

### Features

- :wrench: Automatically build inputs listed in your `manifest.json`
- :tada: Open a browser and install the extension during development
- :zap: Super fast dev mode
- :globe_with_meridians: Supports all browsers
- :fire: Full frontend framework support (popup, options, and content scripts)
- :robot: Typescript support out of the box!
- :white_check_mark: Manifest validation

## Documentation

To get started, checkout the docs:

## Contributing

Special thanks to the contributors!



See the [contributing docs](CONTRIBUTING.md) to setup the project for development.