README.md
March 16, 2023 ยท View on GitHub
Table of Contents
Intro
This template was made with a goal to reduce as much as possible the extension's bundle size, while also having a blazing fast build speed and overall great developer experience with Vite.
The chunk sizes when cloning and building the template:

Features
All dependencies are constantly reviewed and updated to ensure the template is always using the latest and greatest features!
Installation
Procedures
- Run
npx degit fell-lucas/chrome-extension-template-preact-vite my-projector clickUse this templateon GitHub. - Change
nameanddescriptionin package.json => Auto synchronize with manifest - Run
pnpm i,yarnornpm i(check your node version >= 16) - Run
pnpm dev,yarn devornpm run devto watch files and rebuild with any changes - Load Extension on Chrome
- Open - Chrome browser
- Access - chrome://extensions
- Check - Developer mode
- Find - Load unpacked extension
- Select -
distfolder in this project (after dev or build)
- If you want to build without watching, run
pnpm build,yarn buildornpm run build.
Screenshots
New Tab
Popup
Dev Tools
Recommendations
VSCode Extensions
- vscode-eslint
- prettier-vscode
- vscode-tailwindcss
- vscode-coverage-gutters
- vscode-jest
- vscode-jest-runner
Inspired by
Jonghakseo @ Repo
and Vitesse Webext
License
Distributed under the MIT License.