feat: Ajout du suivi de version dans le footer du Front

This commit is contained in:
Luc SORIGNET
2025-02-10 08:58:02 +01:00
parent 274db249aa
commit fb7fbaf839
2 changed files with 7 additions and 3 deletions

View File

@ -1,4 +1,5 @@
import createNextIntlPlugin from 'next-intl/plugin';
import pkg from "./package.json" assert { type: "json" };
const withNextIntl = createNextIntlPlugin();
@ -7,6 +8,9 @@ const nextConfig = {
experimental: {
instrumentationHook: true,
},
env: {
NEXT_PUBLIC_APP_VERSION: pkg.version,
},
};
export default withNextIntl(nextConfig);