From: Jérôme Benoit Date: Sat, 18 Mar 2023 09:41:12 +0000 (+0100) Subject: build: silence warnings X-Git-Tag: v2.3.8~2 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=ce68dd225a5625b4a2d3c651659f33b7731736b5;p=poolifier.git build: silence warnings Signed-off-by: Jérôme Benoit --- 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"