Merge pull request #5216 from thornbill/build-version

Add build and web versions to dashboard
This commit is contained in:
Bill Thornton
2024-02-21 12:02:40 -05:00
committed by GitHub
11 changed files with 95 additions and 39 deletions
+4
View File
@@ -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)
}),