add frontend version to nav-bar
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user