diff --git a/src/app/app-version.ts b/src/app/app-version.ts index c6ad3d9..6fd885b 100644 --- a/src/app/app-version.ts +++ b/src/app/app-version.ts @@ -1 +1,2 @@ -export const APP_VERSION = '1.0.1'; +import { version } from '../../package.json'; +export const APP_VERSION = version; diff --git a/tsconfig.json b/tsconfig.json index 33e10b0..096b112 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -18,7 +18,8 @@ "importHelpers": true, "target": "ES2022", "module": "ES2022", - "useDefineForClassFields": false + "useDefineForClassFields": false, + "resolveJsonModule": true }, "angularCompilerOptions": { "angularStandalone": true,