From 37d7559d8652f645de2d09bec0e9bdc09b4134d4 Mon Sep 17 00:00:00 2001 From: David Baker Date: Wed, 15 Dec 2021 15:40:26 +0000 Subject: [PATCH] Change module mode for hak (#291) Turns out the previous setting didn't work, and apparently this needs to be CommonJS. --- scripts/hak/tsconfig.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/hak/tsconfig.json b/scripts/hak/tsconfig.json index b397e79..82468ec 100644 --- a/scripts/hak/tsconfig.json +++ b/scripts/hak/tsconfig.json @@ -2,8 +2,8 @@ "compilerOptions": { "moduleResolution": "node", "esModuleInterop": true, - "target": "es2016", - "module": "esnext", + "target": "es2017", + "module": "commonjs", "sourceMap": false, "lib": [ "es2019",