From 6df175553cfe52cbe760b51e77223020af100cf3 Mon Sep 17 00:00:00 2001 From: wolfy1339 <4595477+wolfy1339@users.noreply.github.com> Date: Mon, 30 Sep 2024 16:50:55 -0400 Subject: [PATCH] maint: workaround issue with ts-node and NodeJs 20+ Close #587 See https://github.com/TypeStrong/ts-node/issues/2100 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index d051ef21f5f..fee34ce6cd0 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "watch:eleventy": "eleventy --serve", "build": "eleventy", "lint": "eslint script/sync.ts", - "sync-data": "ts-node-esm script/sync.ts" + "sync-data": "node --loader=ts-node/esm script/sync.ts" }, "dependencies": { "@11ty/eleventy": "^3.0.0-alpha.14",