X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Ftsconfig.json;h=6ac5e6a9e46e261a05e32c4c36607e4bcb1bb99b;hb=f5b0af50c85e2f8b6b2b054ac1f47123cacbe08d;hp=66c7bb4443a9f60fecf74c229a02487ae8352642;hpb=8635a2c70cc24a4c52558162ac058de95750271f;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/tsconfig.json b/client/tsconfig.json index 66c7bb444..6ac5e6a9e 100644 --- a/client/tsconfig.json +++ b/client/tsconfig.json @@ -1,32 +1,38 @@ { + "compileOnSave": false, "compilerOptions": { - "target": "es5", - "module": "commonjs", + "outDir": "./dist/out-tsc", + "sourceMap": true, + "declaration": false, "moduleResolution": "node", "emitDecoratorMetadata": true, "experimentalDecorators": true, - "allowSyntheticDefaultImports": true, - "sourceMap": true, - "noEmitHelpers": true, - "importHelpers": true, - "strictNullChecks": false, - "baseUrl": "./src", - "paths": [ + "target": "es5", + "typeRoots": [ + "node_modules/@types" ], "lib": [ - "dom", - "es6" - ] + "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" ] + } }, "exclude": [ + "../node_modules", "node_modules", - "dist" - ], - "awesomeTypescriptLoaderOptions": { - "forkChecker": true, - "useWebpackText": true - }, - "compileOnSave": false, - "buildOnSave": false, - "atom": { "rewriteTsconfig": false } + "dist", + "../server" + ] }