From 02743d39e29dd565245ddc9c0a95d24508bc1a4f Mon Sep 17 00:00:00 2001 From: Anthony Fu Date: Wed, 6 Sep 2023 14:53:17 +0200 Subject: [PATCH] chore: update tsconfig --- helpers.d.ts | 2 +- tsconfig.json | 17 +++++++++++++---- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/helpers.d.ts b/helpers.d.ts index 3de006d..fbac79a 100644 --- a/helpers.d.ts +++ b/helpers.d.ts @@ -1 +1 @@ -export * from "./dist/helpers.d.ts"; +export * from "./dist/helpers.js"; diff --git a/tsconfig.json b/tsconfig.json index d079baa..725c3cb 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,12 +1,21 @@ { "compilerOptions": { + "rootDir": ".", "target": "ESNext", "module": "ESNext", - "moduleResolution": "Node", + "moduleResolution": "Bundler", "esModuleInterop": true, - "strict": true + "strict": true, + "paths": { + "magicast/helpers": [ + "./src/helpers/index.ts" + ], + "magicast": [ + "./src/index.ts" + ] + } }, - "include": [ - "src" + "exclude": [ + "dist" ] }