mirror of
https://git.v0id.ovh/n3wt-innov/n3wt-school.git
synced 2026-01-28 23:43:22 +00:00
30 lines
843 B
JavaScript
30 lines
843 B
JavaScript
import createNextIntlPlugin from 'next-intl/plugin';
|
|
import pkg from "./package.json" assert { type: "json" };
|
|
|
|
const withNextIntl = createNextIntlPlugin();
|
|
|
|
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
output: "standalone",
|
|
reactStrictMode: true,
|
|
experimental: {
|
|
instrumentationHook: true,
|
|
},
|
|
images: {
|
|
remotePatterns: [
|
|
{
|
|
protocol: "https",
|
|
hostname: "www.gravatar.com",
|
|
},
|
|
],
|
|
},
|
|
env: {
|
|
NEXT_PUBLIC_APP_VERSION: pkg.version,
|
|
NEXT_PUBLIC_API_URL: process.env.NEXT_PUBLIC_API_URL || "http://localhost:8080",
|
|
NEXT_PUBLIC_USE_FAKE_DATA: process.env.NEXT_PUBLIC_USE_FAKE_DATA || 'false',
|
|
AUTH_SECRET: process.env.AUTH_SECRET || 'false',
|
|
NEXTAUTH_URL: process.env.NEXTAUTH_URL || "http://localhost:3000",
|
|
},
|
|
};
|
|
|
|
export default withNextIntl(nextConfig); |