build: silence warnings
authorJérôme Benoit <jerome.benoit@sap.com>
Sat, 18 Mar 2023 09:41:12 +0000 (10:41 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Sat, 18 Mar 2023 09:41:12 +0000 (10:41 +0100)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
rollup.config.mjs
tsconfig.development.json
tsconfig.production.json [new file with mode: 0644]
tsconfig.tsdoc.json [deleted file]
typedoc.json

index 2de60c6c92d26d86c517265037fa798a9a1e639b..e1bdac21fe03b621fa5b4e81d2c73b3e2ef5be52 100644 (file)
@@ -23,7 +23,7 @@ export default {
     typescript({
       tsconfig: isDevelopmentBuild
         ? 'tsconfig.development.json'
-        : 'tsconfig.json'
+        : 'tsconfig.production.json'
     }),
     del({
       targets: ['lib/*']
index 5635d6cd1b76d42bfbad4493c495148eaabc6541..87915c1e67db042c15cc271103d0070baf6c54d9 100644 (file)
@@ -2,5 +2,6 @@
   "extends": "./tsconfig.json",
   "compilerOptions": {
     "sourceMap": true
-  }
+  },
+  "exclude": ["node_modules", "lib", "examples/typescript/**/*.ts"]
 }
diff --git a/tsconfig.production.json b/tsconfig.production.json
new file mode 100644 (file)
index 0000000..5eca91e
--- /dev/null
@@ -0,0 +1,4 @@
+{
+  "extends": "./tsconfig.json",
+  "exclude": ["node_modules", "lib", "examples/typescript/**/*.ts"]
+}
diff --git a/tsconfig.tsdoc.json b/tsconfig.tsdoc.json
deleted file mode 100644 (file)
index 9b3c475..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-{
-  "extends": "./tsconfig.json",
-  "exclude": ["examples/typescript/**/*.ts"]
-}
index ecbcc558957df60b9340d863726b93bbabb8dd28..5bbcebc4f21f7b9496322ae95ee788b7ed08f2d4 100644 (file)
@@ -1,5 +1,5 @@
 {
-  "tsconfig": "./tsconfig.tsdoc.json",
+  "tsconfig": "./tsconfig.production.json",
   "entryPoints": ["src"],
   "out": "docs",
   "readme": "none"