mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2024-08-17 01:10:34 +03:00
Many files from the `shared` folder were importing files from the `server` folder. When attempting to use Typescript project references to describe dependencies, it highlighted a circular dependency beetween `shared` <-> `server`. The Typescript project forbid such usages. Using project references greatly improve performance by rebuilding only the updated project and not all source files. > see https://www.typescriptlang.org/docs/handbook/project-references.html
36 lines
758 B
JSON
36 lines
758 B
JSON
{
|
|
"compilerOptions": {
|
|
"module": "commonjs",
|
|
"target": "es2015",
|
|
"noImplicitAny": false,
|
|
"sourceMap": false,
|
|
"experimentalDecorators": true,
|
|
"emitDecoratorMetadata": true,
|
|
"importHelpers": true,
|
|
"removeComments": true,
|
|
"strictBindCallApply": true,
|
|
"esModuleInterop": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"lib": [
|
|
"es2015",
|
|
"es2016",
|
|
"es2017",
|
|
"es2018",
|
|
"es2019"
|
|
],
|
|
"typeRoots": [
|
|
"node_modules/@types",
|
|
],
|
|
"baseUrl": "./",
|
|
"outDir": "./dist/",
|
|
"paths": {
|
|
"@server/*": [ "server/*" ],
|
|
"@shared/*": [ "shared/*" ]
|
|
},
|
|
"resolveJsonModule": true,
|
|
"strict": false,
|
|
"skipLibCheck": true,
|
|
"composite": true
|
|
}
|
|
}
|