mirror of
https://github.com/theoludwig/p61-project.git
synced 2024-07-17 07:00:12 +02:00
9 lines
189 B
TypeScript
9 lines
189 B
TypeScript
|
import { version } from "@/package.json"
|
||
|
|
||
|
export const getVersion = (): string => {
|
||
|
if (process.env["NODE_ENV"] === "development") {
|
||
|
return "0.0.0-development"
|
||
|
}
|
||
|
return version
|
||
|
}
|