Files
DevToysWeb/next.config.mjs
2024-05-19 15:27:25 +02:00

26 lines
691 B
JavaScript

/** @type {import('next').NextConfig} */
const nextConfig = {
typescript: {
// !! WARN !!
// Dangerously allow production builds to successfully complete even if
// your project has type errors.
// !! WARN !!
ignoreBuildErrors: true,
},
eslint: {
// Warning: This allows production builds to successfully complete even if
// your project has ESLint errors.
ignoreDuringBuilds: true,
},
output: "export",
reactStrictMode: true,
experimental: {
typedRoutes: true,
reactCompiler: true,
},
};
export default process.env.ANALYZE === "true"
? (await import("@next/bundle-analyzer")).default({ enabled: true })(nextConfig)
: nextConfig;