From 7ea052aa251cfadf6cc07898285504e3f680f645 Mon Sep 17 00:00:00 2001 From: Francis Dinh Date: Wed, 21 Sep 2022 11:33:57 -0400 Subject: [PATCH] backend: set moduleResolution to Node16 in tsconfig This lets us catch any import errors in the backend as it now lines up with Node's ESM module resolution. --- packages/backend/tsconfig.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/tsconfig.json b/packages/backend/tsconfig.json index 6e17dad7a..20b8f56a4 100644 --- a/packages/backend/tsconfig.json +++ b/packages/backend/tsconfig.json @@ -12,7 +12,7 @@ "sourceMap": false, "target": "ES2021", "module": "esnext", - "moduleResolution": "node", + "moduleResolution": "Node16", "allowSyntheticDefaultImports": true, "removeComments": false, "noLib": false,