fix: nextjs config sentry
This commit is contained in:
parent
bd470f7a90
commit
204e4a8c6d
2 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue