From b7dde3df59d9354dc676c299608fd5f4b2c1792f Mon Sep 17 00:00:00 2001 From: Sergey Nikitin Date: Sat, 20 Jan 2024 18:28:35 +0100 Subject: [PATCH] fix(ts-node): Fix the develop launcher --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index b923f393..88ac33d5 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ }, "type": "module", "scripts": { - "ts": "ts-node-esm -r ./init.cjs src/scripts/run.js", + "ts": "NODE_OPTIONS=\"--loader ts-node/esm\" node -r ./init.cjs src/scripts/run.js", "import": "npm run ts -- import ts", "chart": "npm run ts -- chart ts", "start": "npm run ts -- start ts",