All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
5.1.1 (2024-09-26)
5.1.0 (2023-12-12)
5.0.0 (2023-06-01)
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)
-
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)
4.1.0 (2023-04-13)
4.0.0 (2023-04-10)
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)
- 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
3.1.1 (2023-02-25)
3.1.0 (2023-02-05)
3.0.0 (2023-01-03)
- dynamic imports in content scripts are broken (#71)
- don't create loader for web accessible scripts with no imports (#72) (8acfaec)
- Vite 4 support (#70) (49330cd)
- dynamic imports in content scripts are broken (#71) (fe888e4)
- web accessible scripts with no loader have incorrect filename (#73) (5d04de4)
2.2.1 (2023-01-02)
- 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)
2.2.0 (2022-11-22)
2.1.1 (2022-10-01)
2.1.0 (2022-09-26)
2.0.0 (2022-09-06)
- Vite 3 is now the minimum supported version of Vite
- add devtools support (#40) (627e7f0)
- add missing html file entry points (#45) (178205a)
- web accessible scripts (#31) (32c24a4)
-
include imports from web accessible scripts in manifest v3 (#41) (65d52f5)
-
make dynamic imports resolve relative to extension host (#37) (7948164)
-
manifest V3: correct matches property in web accessible resources (#47) (17d97d3)
-
manifest v3: web accessible resource match rewrite is broken (#48) (4e2ba91)
1.0.2 (2022-04-24)
1.0.2-beta.1 (2022-04-24)
1.0.2-beta.0 (2022-04-24)
1.0.1 (2022-04-23)
1.0.0 (2022-04-08)
- import.meta.CURRENT_CONTENT_SCRIPT_CSS_URL has been replaced with import.meta.PLUGIN_WEB_EXT_CHUNK_CSS_PATHS. Minimum supported version of Vite is now 2.9.0
0.1.8 (2022-03-28)
0.1.7 (2022-02-18)
0.1.6 (2022-02-13)
- ensure dev server is set for dev builds, add object-src to dev CSP (#5) (056547c)
- only set script hashes in manifest V2 CSP (#6) (ad3580d)
0.1.5 (2022-02-10)
0.1.4 (2022-02-09)
0.1.3 (2022-01-06)
- make manifest parsers use a copy of input manifest (2c0ab12)
- normalize filenames on output manifest matching (b899410)
0.1.2 (2022-01-03)
- maintain existing build.target config if set (d75c9e1)
- reference url using req object (ae04fa7)