Package Exports
- create-react-ext
- create-react-ext/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (create-react-ext) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
About package
A tool to (re)generate Chrome extension from React & Webpack project. So any changes in your React code will automatically (re)generate extension in ext folder no matter how many changes you made (see demo below).

Demo

Usage
- Create React project (using create-react-app for example)
- Install packages: npm i create-react-ext @types/chrome
- Start project. Make sure
localhost:3000is available - Generate extension: cd node_modules/create-react-ext && npm start (it'll add
extfolder) - Load the extension in Chrome from
extfolder - Now you can make changes in React code or in
ext/background.js, ext/manifest.json. Changes will regenerate the extension inextand auto-reload usingchrome.runtime.reloadorwindow.location.reloadif extension is opened (see demo above)
License
MIT License