Skip TypeScript checking in production build
Adds typescript.ignoreBuildErrors to prevent OOM during build on production server with limited memory. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
79bda730d5
commit
326da8dae6
1 changed files with 4 additions and 2 deletions
|
|
@ -1,9 +1,11 @@
|
||||||
const nextConfig = {
|
const nextConfig = {
|
||||||
|
typescript: {
|
||||||
|
// Pula verificacao de tipos durante build para evitar OOM no servidor de producao
|
||||||
|
ignoreBuildErrors: true,
|
||||||
|
},
|
||||||
experimental: {
|
experimental: {
|
||||||
turbopackFileSystemCacheForDev: true,
|
turbopackFileSystemCacheForDev: true,
|
||||||
},
|
},
|
||||||
// Não há necessidade de alterar o webpack aqui; o código do backend Convex
|
|
||||||
// (convex-backend-main) não faz parte do bundle Next.
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export default nextConfig
|
export default nextConfig
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue