Skip to content

Web Extension starter to build "Write Once Run on Any Browser" extension

License

Notifications You must be signed in to change notification settings

TestLearnReact/web-extension-starter

Repository files navigation

web-extension-starter

Web Extension starter to build "Write Once Run on Any Browser" extension

Development

Use Vite / crxjs in development

Production

Build with Webpack for multiple browser support (Chrome, FireFox, etc.)

Features

  • ⚡️ Instant HMR - use Vite on dev (no more refresh!)
  • 🥝 React
  • 💬 Effortless communications - powered by src/message-system (Typescript)
  • 🦾 TypeScript - type safe
  • 🌟 [Icons] - Access to icons from any iconset directly
  • 🖥 Content Script - Use React even in content script (Instant HMR)
  • 🌍 WebExtension - isomorphic extension for Chrome, Firefox, and others (build with webpack)
  • 📃 Dynamic manifest.json with full type support