Skip to content

crxjs/chrome-extension-tools

Repository files navigation

CRXJS

What is CRXJS?

CRXJS is a project to bring a modern developer experience to the Chrome Extension ecosystem. This repo houses two bundling libraries: a modern Vite plugin and a legacy Rollup plugin.

Get Started in 90 seconds.

Features

If you're starting a new Chrome Extension project, consider using @crxjs/vite-plugin. This Vite plugin brings all the features of Vite to the Chrome Extension developer experience.

@crxjs/vite-plugin rollup-plugin-chrome-extension
Works on Vite Rollup
Simple Config Yes Yes
HMR True HMR Auto-reload
Static Asset Imports Yes With config
MV3 Yes Yes
MV2 - Yes
Auto Web-accessible Resources Yes -
Documentation CRXJS Vite Plugin Docs Extend Chrome Docs
NPM npm (scoped) npm (scoped)

Supporting

If these plugins have helped you ship your product faster, please consider sponsoring me on GitHub.

Contributing

We encourage pull requests! This is a pnpm monorepo, so use pnpm instead of Yarn or npm.