mirror of
https://github.com/graphql-hive/console
synced 2026-04-21 14:37:17 +00:00
23 lines
606 B
TypeScript
23 lines
606 B
TypeScript
import type { NextConfig } from 'next';
|
|
import './environment';
|
|
|
|
export default {
|
|
productionBrowserSourceMaps: true,
|
|
poweredByHeader: false,
|
|
eslint: {
|
|
ignoreDuringBuilds: true,
|
|
},
|
|
typescript: {
|
|
// next doesn't need to check because typecheck command will
|
|
// also Next.js report false positives (try it...)
|
|
ignoreBuildErrors: true,
|
|
},
|
|
redirects: async () => [
|
|
// Redirect organization routes
|
|
{
|
|
source: '/:organizationId/view/subscription/manage',
|
|
destination: '/:organizationId/view/subscription',
|
|
permanent: true,
|
|
},
|
|
],
|
|
} satisfies NextConfig;
|