mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00

The new version is an ESM package, so we need to do a dynamic import as our package is CJS. To correctly transpile the dynamic import, moduleResolution needs to be set to node16. See https://github.com/microsoft/TypeScript/issues/43329
22 lines
407 B
JSON
22 lines
407 B
JSON
{
|
|
"extends": "@tsconfig/node18/tsconfig.json",
|
|
"compilerOptions": {
|
|
"lib": [ "es2021" ],
|
|
"declaration": true,
|
|
"incremental": true,
|
|
"inlineSources": true,
|
|
"newLine": "lf",
|
|
"outDir": "dist",
|
|
"preserveConstEnums": true,
|
|
"sourceMap": true,
|
|
"stripInternal": true,
|
|
"moduleResolution": "node16"
|
|
},
|
|
"include": [
|
|
"src"
|
|
],
|
|
"exclude": [
|
|
"node_modules"
|
|
]
|
|
}
|