2
0
mirror of https://github.com/inventree/InvenTree.git synced 2026-07-05 06:32:55 +00:00

[plugin] HMR lib hooks (#12108)

* Expose HMR plugin

* Expose function for localizing a plugin component

* Update npm version

* better docs

* Plugin provides i18n instance

* Expose HMR plugin on different path

* Bump version (again)

* Ensure HMR plugin is properly built

* Bump (again)

* Specify callback function

* Bump package version

* Improved docstrings

* Stricter type hinting
This commit is contained in:
Oliver
2026-06-07 23:56:26 +10:00
committed by GitHub
parent 7f1f2dbad2
commit 20309146aa
6 changed files with 193 additions and 3 deletions
+3 -2
View File
@@ -1,7 +1,7 @@
{
"name": "@inventreedb/ui",
"description": "UI components for the InvenTree project",
"version": "1.4.0",
"version": "1.4.5",
"private": false,
"type": "module",
"license": "MIT",
@@ -11,7 +11,8 @@
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": "./dist/index.js"
".": "./dist/index.js",
"./vite": "./dist/plugin/InventreeHmrPlugin.js"
},
"files": [
"dist",