From 072d3295ec694c49f5c619c7e5dae7e003b36b04 Mon Sep 17 00:00:00 2001 From: laxmanpokhrel Date: Sun, 25 Feb 2024 21:55:14 +0545 Subject: [PATCH] fix: ts config changes --- .release/release-notes.md | 2 +- package.json | 1 - tsconfig.json | 4 ++-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.release/release-notes.md b/.release/release-notes.md index 9ff082d..392ecbf 100644 --- a/.release/release-notes.md +++ b/.release/release-notes.md @@ -1,2 +1,2 @@ # Improvements -- export from lib dir +- Ts config changes diff --git a/package.json b/package.json index 22b4e4c..ac05a46 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,6 @@ "type": "git", "url": "https://github.com/laxmanpokhrel/xmanscript-utils.git" }, - "types": "./lib", "exports": { "./abbreviateCurrencyValue": "./lib/abbreviateCurrencyValue", "./areObjectsEqual": "./lib/areObjectsEqual", diff --git a/tsconfig.json b/tsconfig.json index 229e084..8d83200 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -5,7 +5,7 @@ "declaration": true, "sourceMap": true, "outDir": "./lib", - "baseUrl": "src/", + // "baseUrl": "src/", "strict": true, "lib": ["ES2020", "DOM"], "removeComments": false, @@ -19,7 +19,7 @@ "noFallthroughCasesInSwitch": true, "esModuleInterop": true, "allowSyntheticDefaultImports": false, - "moduleResolution": "node" + // "moduleResolution": "node" }, "exclude": ["node_modules"], "include": [".eslintrc.js", "src", "src/**/*.ts"]