From 74c6c0cf54cd0a4e4fd70812440760aa0179e07a Mon Sep 17 00:00:00 2001 From: Andi Agung Dwi Arya <73697540+devnolife@users.noreply.github.com> Date: Mon, 29 Dec 2025 04:19:51 +0000 Subject: [PATCH] feat: add ts-node configuration for CommonJS module support --- tsconfig.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tsconfig.json b/tsconfig.json index e7ff90f..514d739 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -21,6 +21,12 @@ "@/*": ["./*"] } }, + "ts-node": { + "compilerOptions": { + "module": "CommonJS", + "moduleResolution": "node" + } + }, "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"], "exclude": ["node_modules"] }