An opinionated WebExtension template.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Bauke cf37b1a523
Add Chromium/Manifest V3 compatibility.
1 month ago
source Add Chromium/Manifest V3 compatibility. 1 month ago
.gitignore Initial commit! 🎉 2 months ago
.stylelintrc.json Initial commit! 🎉 2 months ago
README.md Initial commit! 🎉 2 months ago
UNLICENSE Initial commit! 🎉 2 months ago
package.json Add Chromium/Manifest V3 compatibility. 1 month ago
pnpm-lock.yaml Remove the Inter font. 2 months ago
tsconfig.json Initial commit! 🎉 2 months ago
vite.config.ts Add Chromium/Manifest V3 compatibility. 1 month ago

README.md

WebExtension Template

An opinionated WebExtension template.

Usage

  1. Download the repository.
  2. Install the dependencies.
    • Optionally update the dependencies too.
  3. Start an auto-reloading browser instance for development.
  4. Check for linting and TypeScript errors.
  5. Build the WebExtension for production.
# Step 1.
pnpx degit Holllo/web-ext-template your-awesome-project
cd your-awesome-project

# Step 2.
pnpm install
pnpm update --latest

# Step 3, you can change which browser to use in the Vite config.
pnpm start

# Step 4.
pnpm test

# Step 5, see the web-ext-artifacts directory for output.
pnpm build