0
0
mirror of https://github.com/jellyfin/jellyfin-vue.git synced 2025-05-17 05:36:40 +00:00
Files
jellyfin-vue/frontend/scripts/virtual-modules.ts
Fernando Fernández f20498a05f refactor(i18next): finish bundling setup
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2025-04-29 20:05:38 +02:00

10 lines
285 B
TypeScript

/**
* Get commit hash
*/
const commit_available = !Number(process.env.IS_STABLE) && !!process.env.COMMIT_HASH;
const commit_hash = (commit_available && `'${process.env.COMMIT_HASH}'`) || undefined;
export default {
'virtual:commit': `export const commit_hash = ${commit_hash}`
};