We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c2804d0 commit db55d30Copy full SHA for db55d30
next.config.js
@@ -25,9 +25,7 @@ const nextConfig = {
25
config.plugins.push(
26
codecovWebpackPlugin({
27
enableBundleAnalysis:
28
- process.env.GITHUB_ACTIONS === 'true' &&
29
- typeof process.env.CODECOV_TOKEN === 'string' &&
30
- process.env.CODECOV_TOKEN.length > 0,
+ process.env.VERCEL_ENV === 'production' || process.env.VERCEL_ENV === 'preview',
31
bundleName: 'sentry-docs',
32
uploadToken: process.env.CODECOV_TOKEN,
33
})
0 commit comments