返回排行榜
Build cross-browser extensions with native HMR and zero-config setup
chrome-extensiontypescriptrollup-jsrollup-pluginnpm-packagemanifest-v2manifest-v3vite-pluginrollupvitejsjavascript
关键指标
Star 增长趋势
Star
4.1k
Forks
243
周增长
—
Issues
20
2k4k
2019年11月2020年12月2022年1月2023年3月2024年4月2025年6月2026年7月
制品库npm
npm install chrome-extension-toolsREADME

CRXJS
Build cross-browser extensions with native HMR and zero-config setup
📚 Documentation | 💬 Discord
📦 Create CRXJS Project
npm create crxjs@latest
[!IMPORTANT]
@latestMUST NOT be omitted, otherwisenpmmay 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_resourcesmanifest entries
[!NOTE]
Looking for MV2 support? Seerollup-plugin
💻 Development
- Clone this repository
- Install pnpm
- Install dependencies using
pnpm install - Build the
vite-pluginproject usingpnpm build:vite-plugin - Playgrounds project is located at
playgrounds/**, usingpnpm playcan run the playgrounds - Cd into the
vite-plugindirectory usingcd 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.
相关仓库