Browse Source

upload sourcemaps

AykutSarac 2 years ago
parent
commit
1e528dfcf7
2 changed files with 4 additions and 0 deletions
  1. 1 0
      src/pages/_app.tsx
  2. 3 0
      tsconfig.json

+ 1 - 0
src/pages/_app.tsx

@@ -22,6 +22,7 @@ if (process.env.NODE_ENV !== "development") {
   init({
     dsn: "https://[email protected]/6495191",
     tracesSampleRate: 0.25,
+    release: 'production'
   });
 }
 

+ 3 - 0
tsconfig.json

@@ -6,6 +6,9 @@
     "allowJs": true,
     "skipLibCheck": true,
     "strict": true,
+    "sourceMap": true,
+    "inlineSources": true,
+    "sourceRoot": "/",
     "forceConsistentCasingInFileNames": true,
     "noEmit": true,
     "esModuleInterop": true,