crxjs/chrome-extension-tools

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

TypeScript

4,182

1,447 commits

updated Oct 6, 2026

See the code

README

CRXJS

CRXJS

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

NPM version

πŸ“š Documentation | πŸ’¬ Discord

πŸ“¦ Create CRXJS Project

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

πŸ’» Development

  • Clone this repository
  • Install pnpm
  • 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 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 on GitHub.

chrome-extension
javascript
manifest-v2
manifest-v3
npm-package
rollup
rollup-js
rollup-plugin
typescript
vitejs
vite-plugin

crxjs/chrome-extension-tools

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

TypeScript

4,182

1,447 commits

updated Oct 6, 2026

See the code

README

CRXJS

CRXJS

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

NPM version

πŸ“š Documentation | πŸ’¬ Discord

πŸ“¦ Create CRXJS Project

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

πŸ’» Development

  • Clone this repository
  • Install pnpm
  • 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 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 on GitHub.

chrome-extension
javascript
manifest-v2
manifest-v3
npm-package
rollup
rollup-js
rollup-plugin
typescript
vitejs
vite-plugin

Project health

Latest release

3.0.0 Β· Sep 24, 2026

Releases this year

9

Significant stargazers

(top 24 of 39)

Hiroki Osame

3,979 followers Β· starred Feb 2023

EGOIST

13,581 followers Β· starred Feb 2023

Johannes Schickling

2,475 followers Β· starred Dec 2023

Fabio Spampinato

1,977 followers Β· starred Apr 2024