mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 09:25:06 +03:00
Reinstate ignoreBuildErrors as false for studio prod (#38969)
This commit is contained in:
1 parent
4f62ba0493
commit
48df98258e
1 file changed
+3
-2
@@ -531,8 +531,9 @@ const nextConfig = {
|
||||
pagesBufferLength: 100,
|
||||
},
|
||||
typescript: {
|
||||
// Typechecking is run via GitHub Action only for efficiency.
|
||||
ignoreBuildErrors: true,
|
||||
// On previews, typechecking is run via GitHub Action only for efficiency
|
||||
// On production, we turn it on to catch errors from typecheck due to conflicting PRs getting into prod
|
||||
ignoreBuildErrors: process.env.NEXT_PUBLIC_VERCEL_ENV === 'production' ? false : true,
|
||||
},
|
||||
eslint: {
|
||||
// We are already running linting via GH action, this will skip linting during production build on Vercel
|
||||
|
||||
Reference in new issue
Block a user