npx chrome-extension-maker <app-directory>
cd <app-directory>
npm run dev
- Uses Manifest Version 3
- Faster and easier development with
web-ext - Performant builds with
web-extwithout unwanted files - Development with both Firefox and Chromium in temporary profiles
offline_enabled, a key valid in Chromium, extensions does not work in Firefox- Service Workers are supported in Chromium but not Firefox
- The default Manifest may be slightly incorrect because it uses both
scriptandservice_workertags to support Firefox and Chromium development- If you are solely testing for Chromium,
browser_specific_settingsandbackground.scriptscan be removed from themanifest.jsonas they exist to maintain Firefox compatibility
- If you are solely testing for Chromium,
- The default Manifest may be slightly incorrect because it uses both
- The favicon images were generated using favicon.io
- In order to load a custom Chrome profile, to maintain flags, for example, set the
chromiumProfilevariable inweb-ext-config.mjsto the path of your Chrome profile directory which can be found atchrome://version/in theProfile Pathfield or in these Chromium Docs - There are two different configuration files with
web-ext-config.mjsbeing automatically loaded for Chromium when you runnpm run devandfirefox-config.jsbeing automatically loaded for Firefox when you runnpm run dev:firefox
- Runs
web-ext runand tests in Chromium
- Runs
TMPDIR=~/tmp-dir/ web-ext runand tests in Firefox
- Runs
web-ext buildand builds the extension for production to thedistfolder for Chromium
- Runs
web-ext buildand builds the extension for production to thedistfolder for Firefox
- Runs
web-ext lintto check for errors in the manifest and lint extension
- Runs
web-ext docsto open relevant documentation forweb-ext
This project is licensed under the MIT License.
This is a fork of the archived chrome-extension-boilerplate with changes that incorporate web-ext to make development easier and faster.