Browse Source

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 year ago
parent
commit
c681010b12
1 changed files with 23 additions and 0 deletions
  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"
+        }
+      }
+    }
+  }