Explorar o código

OCPBUGS-10850: Enable source maps for typescript

Webpack is configured to generate source maps for development builds, but typescript was not. Update tsconfig.json to enable source maps. Also, add yarn-error.log to .gitignore.
Jon Jackson %!s(int64=3) %!d(string=hai) anos
pai
achega
eb7bb819a4
Modificáronse 2 ficheiros con 4 adicións e 2 borrados
  1. 2 1
      .gitignore
  2. 2 1
      tsconfig.json

+ 2 - 1
.gitignore

@@ -4,4 +4,5 @@ dist/
 integration-tests/videos
 integration-tests/screenshots
 integration-tests/.DS_Store
-.DS_Store
+yarn-error.log
+.DS_Store

+ 2 - 1
tsconfig.json

@@ -7,7 +7,8 @@
     "jsx": "react",
     "allowJs": true,
     "strict": false,
-    "noUnusedLocals": true
+    "noUnusedLocals": true,
+    "sourceMap": true
   },
   "include": ["src"]
 }