chore: align ecosystem to Next.js 16.1.6 and v1.6.0, migrate to ESLint 9 Flat Config

This commit is contained in:
2026-02-09 23:23:31 +01:00
parent 4653f03f0b
commit 2052d4c136
85 changed files with 14182 additions and 30922 deletions

View File

@@ -1,11 +1,16 @@
import createNextIntlPlugin from 'next-intl/plugin';
import { withSentryConfig } from '@sentry/nextjs';
import path from 'path';
import { fileURLToPath } from 'url';
const __dirname = path.dirname(fileURLToPath(import.meta.url));
const withNextIntl = createNextIntlPlugin();
/** @type {import('next').NextConfig} */
const nextConfig = {
output: 'standalone',
outputFileTracingRoot: path.join(__dirname, '..'),
async redirects() {
return [
// Blog redirects
@@ -170,7 +175,7 @@ const nextConfig = {
},
{
source: '/posts/why-the-n2xsf2y-is-the-ideal-cable-for-your-energy-project.html',
destination: '/en/blog/why-the-n2xsf2y-is-the-ideal-cable-for-your-energy-project',
destination: '/de/blog/why-the-n2xsf2y-is-the-ideal-cable-for-your-energy-project',
permanent: true,
},
{