1
Fork 0
An opinionated WebExtension template.
Go to file
Bauke e08f6a508d
Update vite-plugin-web-extension to 1.1.3.
2022-03-15 19:20:49 +01:00
source Add a favicon to the options page. 2022-03-15 19:17:52 +01:00
.gitignore Initial commit! 🎉 2022-03-02 13:17:15 +01:00
.stylelintrc.json Initial commit! 🎉 2022-03-02 13:17:15 +01:00
README.md Initial commit! 🎉 2022-03-02 13:17:15 +01:00
UNLICENSE Initial commit! 🎉 2022-03-02 13:17:15 +01:00
package.json Update vite-plugin-web-extension to 1.1.3. 2022-03-15 19:20:49 +01:00
pnpm-lock.yaml Update vite-plugin-web-extension to 1.1.3. 2022-03-15 19:20:49 +01:00
tsconfig.json Initial commit! 🎉 2022-03-02 13:17:15 +01:00
vite.config.ts Initial commit! 🎉 2022-03-02 13:17:15 +01:00

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