From 0b85b00082776c302a63c0c56fa899204deeeeb7 Mon Sep 17 00:00:00 2001 From: wolfy1339 Date: Sun, 11 Feb 2024 12:26:46 -0500 Subject: [PATCH] build: update `ts-node` config to use ESM --- tsconfig.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index 1fdba89e..e4326713 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -2,8 +2,10 @@ "extends": "./node_modules/@octokit/tsconfig/tsconfig.json", "include": ["src/**/*"], "ts-node": { + "transpileOnly": true, "compilerOptions": { - "module": "CommonJS", + "module": "Node16", + "target": "Node16", "esModuleInterop": true } },