Update nextjs (#550)

This commit is contained in:
Eduard Gert
2026-01-14 16:20:02 +01:00
committed by GitHub
parent 9794dd8398
commit 80f49501d4
11 changed files with 57 additions and 51 deletions

View File

@@ -14,9 +14,11 @@ const withMDX = nextMDX({
})
const isProd = process.env.NODE_ENV === 'production'
/** @type {import('next').NextConfig} */
const nextConfig = {
assetPrefix: '/docs-static',
assetPrefix: isProd ? '/docs-static' : undefined,
reactStrictMode: true,
pageExtensions: ['js', 'jsx', 'ts', 'tsx', 'mdx'],
experimental: {