Skip to content

Commit

Permalink
Merge branch 'dev' into l10n_dev
Browse files Browse the repository at this point in the history
  • Loading branch information
kodiakhq[bot] authored Mar 7, 2024
2 parents ea0c5d0 + c43b439 commit 13ce5fd
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions apps/app/next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ const isVercelProd = process.env.VERCEL_ENV === 'production'
const isLocalDev =
process.env.NODE_ENV === 'development' && !['preview', 'production'].includes(process.env.VERCEL_ENV)
const shouldAnalyze = process.env.ANALYZE === 'true'
const renovateRegex = /^renovate\/.*$/
const isRenovatePR = renovateRegex.test(process.env.VERCEL_GIT_COMMIT_REF)

const withRoutes = routes({ outDir: './src/types' })
const withBundleAnalyzer = bundleAnalyze({ enabled: shouldAnalyze, openAnalyzer: false })
Expand Down Expand Up @@ -50,16 +52,16 @@ const nextConfig = {
serverComponentsExternalPackages: ['@sentry/profiling-node'],
},
eslint: {
ignoreDuringBuilds: !isVercelProd,
ignoreDuringBuilds: !isVercelProd || !isRenovatePR,
},
typescript: {
ignoreBuildErrors: !isVercelProd || !isRenovatePR,
},
images: {
remotePatterns: [{ protocol: 'https', hostname: '**.4sqi.net' }],
},
rewrites: async () => [{ source: '/search', destination: '/' }],

typescript: {
ignoreBuildErrors: !isVercelProd,
},
sentry: {
// For all available options, see:
// https://docs.sentry.io/platforms/javascript/guides/nextjs/manual-setup/
Expand Down

0 comments on commit 13ce5fd

Please sign in to comment.