Moved declaration and declarationDir to single files to prevent conflict with examples configs

This commit is contained in:
Alexander Cerutti
2025-01-11 15:24:28 +01:00
parent e88c0b43f6
commit 028831ea9a
3 changed files with 4 additions and 2 deletions

View File

@@ -1,6 +1,8 @@
{ {
"extends": "./tsconfig.json", "extends": "./tsconfig.json",
"compilerOptions": { "compilerOptions": {
"declaration": true,
"declarationDir": "lib/types",
"outDir": "lib/cjs", "outDir": "lib/cjs",
"inlineSourceMap": true, "inlineSourceMap": true,
"skipLibCheck": true, "skipLibCheck": true,

View File

@@ -1,6 +1,8 @@
{ {
"extends": "./tsconfig.json", "extends": "./tsconfig.json",
"compilerOptions": { "compilerOptions": {
"declaration": true,
"declarationDir": "lib/types",
"outDir": "lib/esm", "outDir": "lib/esm",
"inlineSourceMap": true, "inlineSourceMap": true,
"skipLibCheck": true, "skipLibCheck": true,

View File

@@ -1,7 +1,5 @@
{ {
"compilerOptions": { "compilerOptions": {
"declaration": true,
"declarationDir": "lib/types",
"target": "es2018", "target": "es2018",
"esModuleInterop": true, "esModuleInterop": true,
"newLine": "LF", "newLine": "LF",