소스 검색

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"]
 }