소스 검색

chore: add api-extractor.json for optional type definitions rollup (into one file) via @microsoft/api-extractor

to rollup the definitions:
npm i -g @microsoft/api-extractor
api-extractor run --local --verbose
sschmidTU 1 년 전
부모
커밋
c681010b12
1개의 변경된 파일23개의 추가작업 그리고 0개의 파일을 삭제
  1. 23 0
      api-extractor.json

+ 23 - 0
api-extractor.json

@@ -0,0 +1,23 @@
+{
+    "mainEntryPointFilePath": "build/dist/src/index.d.ts",
+    "apiReport": {
+      "enabled": false
+    },
+    "docModel": {
+      "enabled": false
+    },
+    "dtsRollup": {
+      "enabled": true,
+      "untrimmedFilePath": "build/dist/src/index.d.ts"
+    },
+    "messages": {
+      "extractorMessageReporting": {
+        "default": {
+          "logLevel": "none"
+        },
+        "ae-forgotten-export": {
+          "logLevel": "none"
+        }
+      }
+    }
+  }