mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Add package.json name and version as defines to avoid importing the package.json in code
This commit is contained in:
parent
a34fbadaab
commit
facbda4f2f
6 changed files with 13 additions and 10 deletions
2
src/global.d.ts
vendored
2
src/global.d.ts
vendored
|
@ -18,4 +18,6 @@ export declare global {
|
|||
const __JF_BUILD_VERSION__: string;
|
||||
const __USE_SYSTEM_FONTS__: string;
|
||||
const __WEBPACK_SERVE__: string;
|
||||
const __PACKAGE_JSON_NAME__: string;
|
||||
const __PACKAGE_JSON_VERSION__: string;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue