mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Add build and web versions to dashboard
This commit is contained in:
parent
4a6efbe359
commit
1aabbae3a5
11 changed files with 95 additions and 39 deletions
|
@ -47,6 +47,10 @@ const config = {
|
|||
},
|
||||
plugins: [
|
||||
new DefinePlugin({
|
||||
__JF_BUILD_VERSION__: JSON.stringify(
|
||||
process.env.WEBPACK_SERVE ?
|
||||
'Dev Server' :
|
||||
process.env.JELLYFIN_VERSION || 'Release'),
|
||||
__USE_SYSTEM_FONTS__: JSON.stringify(!!process.env.USE_SYSTEM_FONTS),
|
||||
__WEBPACK_SERVE__: JSON.stringify(!!process.env.WEBPACK_SERVE)
|
||||
}),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue