mirror of
https://github.com/fosrl/pangolin.git
synced 2025-08-30 22:49:27 +02:00
pull app version from consts instead of package.json
This commit is contained in:
parent
200b8d5623
commit
ca008ace4b
5 changed files with 8 additions and 29 deletions
|
@ -1,6 +1,8 @@
|
|||
import path from "path";
|
||||
import { fileURLToPath } from "url";
|
||||
import { existsSync } from "fs";
|
||||
|
||||
// This is a placeholder value replaced by the build process
|
||||
export const APP_VERSION = "1.0.0-beta.12";
|
||||
|
||||
export const __FILENAME = fileURLToPath(import.meta.url);
|
||||
export const __DIRNAME = path.dirname(__FILENAME);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue