From ce68dd225a5625b4a2d3c651659f33b7731736b5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Sat, 18 Mar 2023 10:41:12 +0100 Subject: [PATCH] build: silence warnings MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- rollup.config.mjs | 2 +- tsconfig.development.json | 3 ++- tsconfig.production.json | 4 ++++ tsconfig.tsdoc.json | 4 ---- typedoc.json | 2 +- 5 files changed, 8 insertions(+), 7 deletions(-) create mode 100644 tsconfig.production.json delete mode 100644 tsconfig.tsdoc.json diff --git a/rollup.config.mjs b/rollup.config.mjs index 2de60c6c..e1bdac21 100644 --- a/rollup.config.mjs +++ b/rollup.config.mjs @@ -23,7 +23,7 @@ export default { typescript({ tsconfig: isDevelopmentBuild ? 'tsconfig.development.json' - : 'tsconfig.json' + : 'tsconfig.production.json' }), del({ targets: ['lib/*'] diff --git a/tsconfig.development.json b/tsconfig.development.json index 5635d6cd..87915c1e 100644 --- a/tsconfig.development.json +++ b/tsconfig.development.json @@ -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 index 00000000..5eca91e4 --- /dev/null +++ b/tsconfig.production.json @@ -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 index 9b3c4751..00000000 --- a/tsconfig.tsdoc.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "extends": "./tsconfig.json", - "exclude": ["examples/typescript/**/*.ts"] -} diff --git a/typedoc.json b/typedoc.json index ecbcc558..5bbcebc4 100644 --- a/typedoc.json +++ b/typedoc.json @@ -1,5 +1,5 @@ { - "tsconfig": "./tsconfig.tsdoc.json", + "tsconfig": "./tsconfig.production.json", "entryPoints": ["src"], "out": "docs", "readme": "none" -- 2.34.1