diff --git a/tsconfig.esm.json b/tsconfig.esm.json index 821e8c0..be48886 100644 --- a/tsconfig.esm.json +++ b/tsconfig.esm.json @@ -5,13 +5,17 @@ "lib": ["es2022", "dom"], "module": "es6", "moduleResolution": "node", - "outDir": "dist", + "outDir": "dist/esm", + "sourceMap": true, + "declaration": true, + "declarationMap": true, "noImplicitAny": true, "removeComments": false, "preserveConstEnums": true, "baseUrl": ".", "allowSyntheticDefaultImports": true, "skipLibCheck": true, + "skipDefaultLibCheck": true, "resolveJsonModule": true }, "ts-node": { diff --git a/tsconfig.json b/tsconfig.json index 6bf8847..0520ebf 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -5,13 +5,16 @@ "lib": ["es2022", "dom"], "module": "commonjs", "moduleResolution": "node", - "outDir": "dist/esm", + "outDir": "dist/", + "sourceMap": true, + "declaration": false, "noImplicitAny": true, "removeComments": false, "preserveConstEnums": true, "baseUrl": ".", "allowSyntheticDefaultImports": true, "skipLibCheck": true, + "skipDefaultLibCheck": true, "resolveJsonModule": true }, "ts-node": {