X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Ftsconfig.json;h=6ac5e6a9e46e261a05e32c4c36607e4bcb1bb99b;hb=3dfa84940273619ae00f11a5f419a5e4876b2f53;hp=115af1f83d21056a51d672bab3e7cf7d81af4b48;hpb=a17bc2c34e79c144b7e71ff903c16c2e68371b48;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/tsconfig.json b/client/tsconfig.json index 115af1f83..6ac5e6a9e 100644 --- a/client/tsconfig.json +++ b/client/tsconfig.json @@ -1,39 +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" ], - "types": [ - "node", - "source-map", - "uglify-js", - "videojs", - "webpack" - ] + "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" + ] }