Files
paradox-save-parser-frontend/next.config.ts
T
2026-09-29 18:56:04 +02:00

32 lines
1018 B
TypeScript

import type { NextConfig } from 'next'
const nextConfig: NextConfig = {
experimental: {
// call tsc6 instead of import 'typescript'
useTypeScriptCli: true,
// faster "npm run dev"
turbopackFileSystemCacheForDev: true,
// don't create temporary files in .next/ during "npm run build"
turbopackFileSystemCacheForBuild: false,
// options to make standalone build more debuggable
serverSourceMaps: true,
serverMinification: false,
},
// produce .next/standalone
// which can be started by `node server.js` without any dependencies
output: 'standalone',
images: {
unoptimized: true,
},
// remove next/image from build, which this project doesn't use
outputFileTracingExcludes: {
'*': ['node_modules/sharp/**', 'node_modules/@img/**'],
},
// sometimes production builds ran without proper type checking
typescript: {
ignoreBuildErrors: false,
},
}
export default nextConfig