浏览代码

Disable ts config that leads to sourceMappingURL comment in transpilation

Russell Parker 3 年之前
父节点
当前提交
931cb0fa7d
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      tsconfig.commonjs.json
  2. 1 1
      tsconfig.json

+ 1 - 1
tsconfig.commonjs.json

@@ -5,7 +5,7 @@
         "alwaysStrict": true,
         "noImplicitAny": true,
         "noImplicitThis": true,
-        "sourceMap": true,
+        "sourceMap": false,
         "noUnusedLocals": true,
         "strictNullChecks": true,
         "strictFunctionTypes": true,

+ 1 - 1
tsconfig.json

@@ -5,7 +5,7 @@
         "alwaysStrict": true,
         "noImplicitAny": true,
         "noImplicitThis": true,
-        "sourceMap": true,
+        "sourceMap": false,
         "noUnusedLocals": true,
         "strictNullChecks": true,
         "strictFunctionTypes": true,