From 702a8b77b7241ffb0cdc4c8a57bdfd3a96ca9caa Mon Sep 17 00:00:00 2001 From: Stephan Kulla Date: Thu, 23 Nov 2023 21:46:43 +0100 Subject: [PATCH] chore(ts-node): Load all scripts as ESM --- tsconfig.json | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index cd6b16602..f15b872ac 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,11 +1,7 @@ { "extends": "./tsconfig.prod.json", "ts-node": { - "moduleTypes": { - "packages/server/scripts/deploy.ts": "esm", - "scripts/changelog.ts": "esm", - "scripts/publish-pacts.ts": "esm" - } + "esm": true }, "compilerOptions": { "importHelpers": false,