Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nilooy/preact-cross-browser-webext
Template for developing cross browser extension with preact and vite
https://github.com/nilooy/preact-cross-browser-webext
Last synced: 17 days ago
JSON representation
Template for developing cross browser extension with preact and vite
- Host: GitHub
- URL: https://github.com/nilooy/preact-cross-browser-webext
- Owner: nilooy
- License: mit
- Created: 2022-07-06T09:02:36.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-07-06T10:42:03.000Z (over 2 years ago)
- Last Synced: 2024-10-15T03:48:24.892Z (23 days ago)
- Language: TypeScript
- Size: 153 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Preact Cross Browser Web extension
> Firefox support HMR in development but chrome has auto-reload(hmr is blocked for content security policy)
### Tools
1. 🎨 Preact
2. 🎨 Tailwind
3. 🎨 Web-ext
4. 🎨 Web-ext polyfill (Cross browser api)
5. 🎨 release-it### src/manifest.ts > will generate manifest v2 for firefox and v3 for chrome, add your necessary configs there in manifest.ts file.
### Install
```sh
yarn
```### Start
```sh
yarn dev:firefox
```
OR
```sh
yarn dev:chrome
```### Build all for prod
```sh
yarn prod
```### Release
```sh
release
```check package.json for more commands