From 4f3f8c9696c4a0ec1b6ee646594ab82b6b1e593a Mon Sep 17 00:00:00 2001 From: Carlos Santiago <5726971+csantiago132@users.noreply.github.com> Date: Fri, 6 Dec 2024 15:01:19 -0600 Subject: [PATCH] feat(config): exports esmodules --- .npmignore | 2 ++ src/tsconfig/tsconfig.json | 1 - tsconfig.json | 5 +++-- 3 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 .npmignore diff --git a/.npmignore b/.npmignore new file mode 100644 index 0000000..39335c0 --- /dev/null +++ b/.npmignore @@ -0,0 +1,2 @@ +/src +*.ts diff --git a/src/tsconfig/tsconfig.json b/src/tsconfig/tsconfig.json index 0410700..6b57cd4 100644 --- a/src/tsconfig/tsconfig.json +++ b/src/tsconfig/tsconfig.json @@ -24,7 +24,6 @@ "noUncheckedIndexedAccess": true, "noUnusedLocals": true, "noUnusedParameters": true, - "outDir": "dist", "paths": { "@app*": ["app/*"], "@src*": ["src/*"], "~/*": ["src/*"] }, "preserveSymlinks": true, "resolveJsonModule": true, diff --git a/tsconfig.json b/tsconfig.json index 2953bcc..32a5b3b 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -2,7 +2,8 @@ "extends": ["./src/tsconfig/tsconfig.node.json"], "compilerOptions": { "outDir": "./dist", - "rootDir": ".", + "rootDir": "./src", "typeRoots": ["./src/types", "eslint-plugin-tsdoc"] - } + }, + "exclude": ["prettier.config.js", "node_modules", "dist","eslint.config.js"] }