瀏覽代碼

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 3 年之前
父節點
當前提交
eb7bb819a4
共有 2 個文件被更改,包括 4 次插入2 次删除
  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"]
 }