Skip to content

Bundling Chrome Extensions can be pretty complex. It doesn't have to be.

Notifications You must be signed in to change notification settings

llowrey/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.

About

Bundling Chrome Extensions can be pretty complex. It doesn't have to be.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 76.5%
  • JavaScript 12.6%
  • HTML 4.8%
  • CSS 2.2%
  • Svelte 2.2%
  • Vue 1.5%
  • MDX 0.2%