X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=client%2Ftsconfig.json;h=60c343867496496f0b30648622839a5b941f7c11;hb=337ba64efc5a54e83884f33a91de4012ed9b7d11;hp=3e4648cf7914e37b6362164f1cf347adc15a52a6;hpb=230809efa1e7e81ce60cd65f8b398f01a27d525b;p=oweals%2Fpeertube.git diff --git a/client/tsconfig.json b/client/tsconfig.json index 3e4648cf7..60c343867 100644 --- a/client/tsconfig.json +++ b/client/tsconfig.json @@ -1,18 +1,32 @@ { + "compileOnSave": false, "compilerOptions": { - "target": "es5", - "module": "commonjs", - "moduleResolution": "node", + "outDir": "./dist/out-tsc", "sourceMap": true, + "declaration": false, + "moduleResolution": "node", "emitDecoratorMetadata": true, "experimentalDecorators": true, - "removeComments": false, - "noImplicitAny": false - }, - "exclude": [ - "node_modules", - "typings/main", - "typings/main.d.ts" - ], - "compileOnSave": false + "target": "es5", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2017", + "es2016", + "es2015", + "dom" + ], + "baseUrl": "src", + "paths": { + "@app/*": [ "app/*" ], + "video.js": [ "../node_modules/video.js/dist/alt/video.core.js" ], + "fs": [ "./shims/noop" ], + "http": [ "./shims/http" ], + "https": [ "./shims/https" ], + "path": [ "./shims/path" ], + "stream": [ "./shims/noop" ], + "crypto": [ "./shims/noop" ] + } + } }