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:

All dependencies are constantly reviewed and updated to ensure the template is always using the latest and greatest features!
- 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.
VSCode Extensions
- vscode-eslint
- prettier-vscode
- vscode-tailwindcss
- vscode-coverage-gutters
- vscode-jest
- vscode-jest-runner
Jonghakseo @ Repo
and Vitesse Webext
Distributed under the MIT License.


