add frontend version to nav-bar

This commit is contained in:
smanylov
2026-02-23 12:20:25 +07:00
parent 70d6dea264
commit c1d5f9eebf
4 changed files with 7 additions and 3 deletions
+4
View File
@@ -1,5 +1,6 @@
import type { NextConfig } from "next";
import createNextIntlPlugin from 'next-intl/plugin';
const { version } = require('./package.json');
const nextConfig: NextConfig = {
experimental: {
@@ -7,6 +8,9 @@ const nextConfig: NextConfig = {
bodySizeLimit: '10mb',
},
},
env: {
APP_VERSION: version,
},
};
const withNextIntl = createNextIntlPlugin();