Skip to content

Releases: samrum/vite-plugin-web-extension

v5.1.1

26 Sep 05:15
v5.1.1
fd56ebb
Compare
Choose a tag to compare

Bug Fixes

  • use_dynamic_url with content scripts does not work in Chrome 130 (#145) (b014902)

v5.1.0

12 Dec 07:59
v5.1.0
93f041b
Compare
Choose a tag to compare

Features

Bug Fixes

  • only use the httpServer if it exists (#133) (aede4fa)

v5.0.0

04 Jun 01:17
600cb8b
Compare
Choose a tag to compare

⚠ BREAKING CHANGES

Check MIGRATION.md for migration instructions

  • drop vite 3 support, minimum version is now vite 4 (#99)
  • drop node 14 support, minimum version is now node 16 (#98)
  • throw an error when inputs have matching output identifiers (#103)
  • hmr: always use transformIndexHtml for HTML processing, remove devHtmlTransform option (#115)

Features

  • support Vite config.define properties in dev mode (#97) (c0edbab)

Bug Fixes

  • hmr: directory already exists error on server start (#108) (e177115)

  • hmr: location.reload/document errors in service worker (#100) (5527320)

  • hmr: readFile, writeFile not exported by fs-extra (#106) (c9c2ebf)

  • hmr: vite env client path is wrong in workspaces (#101) (c9eb6be)

  • shared output id error is triggered on same input/output pair (#107) (0c0a822)

  • devBuilder: always use transformIndexHtml for HTML processing (#115) (3e7da0c)

  • drop node 14 support, minimum version is now node 16 (#98) (79a3542)

  • drop vite 3 support, minimum version is now vite 4 (#99) (aa72014)

  • throw an error when inputs have matching output identifiers (#103) (f929057)

v4.1.0

13 Apr 02:50
v4.1.0
6618bfb
Compare
Choose a tag to compare

Features

  • support hash and query properties in manifest HTML filenames (#92) (12950b1), closes #90

v4.0.0

10 Apr 03:38
565c00b
Compare
Choose a tag to compare

⚠ BREAKING CHANGES

Check MIGRATION.md for migration instructions

  • The webAccessibleScripts option has been removed and replaced by the additionalInputs option. For similar functionality, move scripts to additionalInputs.scripts and html files to additionalInputs.html. Check the README or MIGRATION files for detailed usage instructions.
  • useDynamicUrlContentScripts option renamed to useDynamicUrlWebAccessibleResources
  • dev mode plugin HTML transforms are no longer applied by default. Use the devHtmlTransform option to enable if needed.
  • optimize web accessible resources (#89)

Features

Bug Fixes

  • react HMR HTML errors due to CSP in manifest V3 (#86) (49db181)
  • Input TypeScript file extensions not being correctly converted to .js in output manifest.json

v3.1.1

25 Feb 05:28
v3.1.1
5b3910c
Compare
Choose a tag to compare

Bug Fixes

  • internal viteMetadata type conflicts with Vite (#83) (9043206)

v3.1.0

05 Feb 04:18
v3.1.0
000d7f6
Compare
Choose a tag to compare

Features

  • content_scripts css property processing by Vite (#77) (84ff1ab)

Bug Fixes

  • DevBuilder’s output path should respect the root property of ViteConfig (#81) (9307b79)

v3.0.0

03 Jan 05:25
v3.0.0
402c034
Compare
Choose a tag to compare

⚠ BREAKING CHANGES

  • dynamic imports in content scripts are broken (#71)

Features

  • don't create loader for web accessible scripts with no imports (#72) (8acfaec)
  • Vite 4 support (#70) (49330cd)

Bug Fixes

  • dynamic imports in content scripts are broken (#71) (fe888e4)
  • web accessible scripts with no loader have incorrect filename (#73) (5d04de4)

v2.2.1

02 Jan 00:23
v2.2.1
7d06e74
Compare
Choose a tag to compare

Bug Fixes

  • getMetadataForChunk infinitely loops when parsing build output (#67) (6092362)
  • hmr not working since vite 3.2.3 (#69) (b49f05f)
  • node_modules dependencies shouldn't have dynamic imports modified (#68) (232b90f)

v2.2.0

22 Nov 05:44
v2.2.0
0a89589
Compare
Choose a tag to compare

Features

  • firefox experimental manifest V3 support (#63) (fd62c7d)