浏览代码

chore: handle sentry warning (#236)

Joel 1 年之前
父节点
当前提交
5a6061ff61
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      web/next.config.js

+ 3 - 1
web/next.config.js

@@ -31,7 +31,9 @@ const nextConfig = {
     // https://nextjs.org/docs/api-reference/next.config.js/ignoring-typescript-errors
     ignoreBuildErrors: true,
   },
-  sentry: {},
+  sentry: {
+    hideSourceMaps: true
+  },
   async redirects() {
     return [
       {