https://github.com/crxjs/chrome-extension-tools
Build cross-browser extensions with native HMR and zero-config setup
https://github.com/crxjs/chrome-extension-tools
chrome-extension javascript manifest-v2 manifest-v3 npm-package rollup rollup-js rollup-plugin typescript vite-plugin vitejs
Last synced: 28 days ago
JSON representation
Build cross-browser extensions with native HMR and zero-config setup
- Host: GitHub
- URL: https://github.com/crxjs/chrome-extension-tools
- Owner: crxjs
- Created: 2019-03-15T14:11:45.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2026-10-06T17:05:02.000Z (about 1 month ago)
- Last Synced: 2026-10-13T18:54:36.250Z (about 1 month ago)
- Topics: chrome-extension, javascript, manifest-v2, manifest-v3, npm-package, rollup, rollup-js, rollup-plugin, typescript, vite-plugin, vitejs
- Language: TypeScript
- Homepage: https://crxjs.dev
- Size: 11.2 MB
- Stars: 4,181
- Watchers: 12
- Forks: 244
- Open Issues: 18
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- Awesome-independent-tools - crxjs - 是一个旨在简化 Chrome 扩展程序捆绑过程的工具库 (工具列表 / Chrome 插件开发)
- awesome-github-projects - chrome-extension-tools - Build cross-browser extensions with native HMR and zero-config setup ⭐4,182 `TypeScript` 🔥 (🛠️ Developer Tools)
README

CRXJS
Build cross-browser extensions with native HMR and zero-config setup
📚 Documentation |
💬 Discord
## 📦 Create CRXJS Project
```shell
npm create crxjs@latest
```
> [!IMPORTANT]
> `@latest` MUST NOT be omitted, otherwise `npm` may resolve to a cached and outdated version of the package.
## ✨ Features
- 🧩 **Full Vite Plugin Ecosystem** - Leverage any Vite-compatible plugins with zero extra setup
- ⚙️ **Zero Configuration** - Start developing immediately with intelligent defaults
- 3️⃣ **Manifest V3 Support** - Built for modern Chrome extensions with enhanced security
- 🔥 **True Hot Module Replacement** - Instant UI updates while preserving extension state 🎈**works with content scripts**
- 📁 **Static Asset Import** - Directly reference images/fonts in your code
- 🤖 **Auto Web-Accessible Resources** - Automatic generation of `web_accessible_resources` manifest entries
> [!NOTE]
> Looking for MV2 support? See [`rollup-plugin`](packages/rollup-plugin/README.md)
## 💻 Development
- Clone this repository
- Install [pnpm](https://pnpm.io)
- Install dependencies using `pnpm install`
- Build the `vite-plugin` project using `pnpm build:vite-plugin`
- Playgrounds project is located at `playgrounds/**`, using `pnpm play` can run the playgrounds
- Cd into the `vite-plugin` directory using `cd packages/vite-plugin`
- Test using `pnpm run test`
- Use [DeepWiki](https://deepwiki.com/crxjs/chrome-extension-tools) to learn more about CRXJS
## 💝 Contributors
This project exists thanks to all the people who contribute.
And thank you to all our backers! 🙏
## 🤝 Supporting
If these plugins have helped you ship your product faster, please consider
[sponsoring me](https://github.com/sponsors/jacksteamdev) on GitHub.