Browse Source

Disable ts config that leads to sourceMappingURL comment in transpilation

Russell Parker 3 năm trước cách đây
mục cha
commit
931cb0fa7d
2 tập tin đã thay đổi với 2 bổ sung2 xóa
  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,