mirror of
https://github.com/ershisan99/DevToysWeb.git
synced 2025-12-17 20:49:24 +00:00
21 lines
526 B
JavaScript
21 lines
526 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,
|
|
},
|
|
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;
|