backend: set moduleResolution to Node16 in tsconfig
All checks were successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-client Pipeline was successful
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
ci/woodpecker/push/test Pipeline was successful

This lets us catch any import errors in the backend as it now lines up
with Node's ESM module resolution.
This commit is contained in:
Norm 2022-09-21 11:33:57 -04:00
parent 26449d4944
commit 7ea052aa25
Signed by: norm
GPG key ID: 7123E30E441E80DE

View file

@ -12,7 +12,7 @@
"sourceMap": false,
"target": "ES2021",
"module": "esnext",
"moduleResolution": "node",
"moduleResolution": "Node16",
"allowSyntheticDefaultImports": true,
"removeComments": false,
"noLib": false,