Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@ugurkellecioglu/create-vite-plugin-web-extension

ugurkellecioglu68MIT2.1.2TypeScript support: included

An easy way to start a Vite Web Extension project using @ugurkellecioglu/vite-plugin-web-extension

create, vite, vite-plugin, web, extension, browser, chrome, firefox, edge, manifest, manifest V2, manifest V3, react, preact, svelte, vue, typescript, solid

readme

@ugurkellecioglu/create-vite-plugin-web-extension

npm version node compatibility

An easy way to start a Vite Web Extension project

Available Project Options

  • Manifest V2, Manifest V3, or Both
  • TypeScript
  • Choice of framework including:
    • Preact
    • React
    • Solid
    • Svelte
    • Vanilla
    • Vue

Usage

npm init @ugurkellecioglu/vite-plugin-web-extension@latest

Check the readme in the generated project for more usage instructions.

Credits

changelog

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

2.1.0 (2023-12-12)

Features

2.0.1 (2023-06-09)

Bug Fixes

  • v2+v3-ts: add type declaration for sharedManifest (#39) (8fab389)

2.0.0 (2023-06-05)

⚠ BREAKING CHANGES

  • deprecate node 14, minimum version is now node 16 (#34)

  • deprecate node 14, minimum version is now node 16 (#34) (4054c34)

1.1.4 (2023-04-24)

1.1.3 (2023-04-10)

Bug Fixes

  • vue-ts: vite.config.ts type issues (#25) (1b15b21)

1.1.2 (2023-03-10)

Bug Fixes

  • enable HMR in react JS template without preamble (#23) (0bf4698)
  • enableDevHmr import path is wrong (#24) (123307d)
  • support react 18 rendering (#22) (df2c25c)

1.1.1 (2023-02-05)

Bug Fixes

  • update package.json watch command for development (#20) (63f9f26)

1.1.0 (2023-01-03)

Features

  • Vite 4 support, bump dependencies, Manifest V3 HMR updated info (#17) (3981d36)

1.0.2 (2022-09-06)

1.0.1 (2022-05-15)

Bug Fixes

  • manifest type issues, react issues (#14) (5d75bc0)

1.0.0 (2022-04-08)

Features

  • more detailed readme for generated projects (#13) (a11da90)
  • support 1.0.0 of @ugurkellecioglu/vite-plugin-web-extension (#12) (f41ea36)

0.9.6 (2022-02-18)

0.9.5 (2022-02-13)

0.9.4 (2022-02-13)

Features

  • add alt text to all template img elements (#8) (d7b13f5)
  • enable dev/HMR for react template content scripts (#9) (816f953)

0.9.3 (2022-02-06)

Features

  • add aliases to tsconfig, add jsconfig (#3) (fe69e0b)
  • add preact and preact-ts templates (#5) (45970a8)
  • add react and react-ts templates (#4) (1e52169)
  • support snapshots for all templates (#2) (648348b)

0.9.2 (2022-01-25)

Features

  • add preprocess config for svelte-ts template (0a1f6f6)
  • add svelte template (a70b0aa)

Bug Fixes

  • fix Manifest V2+V3 template when used with svelte (7ad21ee)
  • fix manifest V2+V3 typescript templates (836af87)
  • use correct bg script for manifest V2 template (eb91682)

0.9.1 (2022-01-18)

Features