JSPM

@nico-martin/crxjs-vite-plugin

2.0.1-beta.3
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 6
  • Score
    100M100P100Q42048F
  • License MIT

Build Chrome Extensions with this Vite plugin.

Package Exports

  • @nico-martin/crxjs-vite-plugin
  • @nico-martin/crxjs-vite-plugin/client

Readme

CRXJS

This is a Fork of github.com/crxjs/chrome-extension-tools/ that merged some fixes for Chrome v130+ where scripts are blocked due to Content Security Policy enforcement.
Once the original project merges the required changes I do not plan to maintain this further.

CRXJS Vite Plugin

Build a Chrome Extension with Vite

CRXJS brings the Vite developer experience to Chrome Extensions:

  • True HMR for extension pages and content scripts
  • Simple config - everything is in the extension manifest
  • Static asset imports with automatic web-accessible resources

Getting Started

See the CRXJS documentation to get started in 90 seconds 🚀