forked from github/plane
fix: nextjs config sentry
This commit is contained in:
parent
bd470f7a90
commit
204e4a8c6d
@ -27,7 +27,7 @@ const nextConfig = {
|
|||||||
output: "standalone",
|
output: "standalone",
|
||||||
};
|
};
|
||||||
|
|
||||||
if (parseInt(process.env.NEXT_PUBLIC_ENABLE_SENTRY || "0"), 10) {
|
if (parseInt(process.env.NEXT_PUBLIC_ENABLE_SENTRY || "0", 10)) {
|
||||||
module.exports = withSentryConfig(nextConfig,
|
module.exports = withSentryConfig(nextConfig,
|
||||||
{ silent: true, authToken: process.env.SENTRY_AUTH_TOKEN },
|
{ silent: true, authToken: process.env.SENTRY_AUTH_TOKEN },
|
||||||
{ hideSourceMaps: true }
|
{ hideSourceMaps: true }
|
||||||
|
@ -25,7 +25,7 @@ const nextConfig = {
|
|||||||
output: "standalone",
|
output: "standalone",
|
||||||
};
|
};
|
||||||
|
|
||||||
if (parseInt(process.env.NEXT_PUBLIC_ENABLE_SENTRY || "0"), 10) {
|
if (parseInt(process.env.NEXT_PUBLIC_ENABLE_SENTRY || "0", 10)) {
|
||||||
module.exports = withSentryConfig(nextConfig,
|
module.exports = withSentryConfig(nextConfig,
|
||||||
{ silent: true, authToken: process.env.SENTRY_AUTH_TOKEN },
|
{ silent: true, authToken: process.env.SENTRY_AUTH_TOKEN },
|
||||||
{ hideSourceMaps: true }
|
{ hideSourceMaps: true }
|
||||||
|
Loading…
Reference in New Issue
Block a user