From 8cb082b484cf3fcb45b807cd2c59aadba7e5d5a5 Mon Sep 17 00:00:00 2001 From: JeelRajodiya Date: Fri, 22 Nov 2024 00:40:32 +0530 Subject: [PATCH] add ts-node config --- tsconfig.json | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index d7c7683d9403..0d6447d7f8c6 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -16,6 +16,18 @@ "@/*": ["./*"] } }, - "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", "types/**/*.d.ts", "**/*.json"], - "exclude": ["node_modules", "netlify"] + "include": [ + "next-env.d.ts", + "**/*.ts", + "**/*.tsx", + "types/**/*.d.ts", + "**/*.json" + ], + "exclude": ["node_modules", "netlify"], + "include": ["scripts/**/*"], + "ts-node": { + "esm": true, + "experimentalSpecifierResolution": "node", + "transpileOnly": true + } }