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
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:
parent
26449d4944
commit
7ea052aa25
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@
|
||||||
"sourceMap": false,
|
"sourceMap": false,
|
||||||
"target": "ES2021",
|
"target": "ES2021",
|
||||||
"module": "esnext",
|
"module": "esnext",
|
||||||
"moduleResolution": "node",
|
"moduleResolution": "Node16",
|
||||||
"allowSyntheticDefaultImports": true,
|
"allowSyntheticDefaultImports": true,
|
||||||
"removeComments": false,
|
"removeComments": false,
|
||||||
"noLib": false,
|
"noLib": false,
|
||||||
|
|
Loading…
Reference in a new issue