X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Ftsconfig.json;h=e46528d1c9117717cd9c5bc8d304ec88d2aa64b7;hb=a18f275d302bbd95443c258b8d92f6dfd8eb1653;hp=beca79e01f7d89c967f4c072b0d86230a45cd858;hpb=951ef8294e9eae8f0b42292059daf0c972dbc48f;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/tsconfig.json b/client/tsconfig.json index beca79e01..e46528d1c 100644 --- a/client/tsconfig.json +++ b/client/tsconfig.json @@ -5,6 +5,7 @@ "sourceMap": true, "declaration": false, "moduleResolution": "node", + "module": "esnext", "emitDecoratorMetadata": true, "experimentalDecorators": true, "noImplicitAny": true, @@ -27,6 +28,7 @@ "baseUrl": "src", "paths": { "@app/*": [ "app/*" ], + "@shared/*": [ "../../shared/*" ], "video.js": [ "../node_modules/video.js/dist/alt/video.core.js" ], "fs": [ "./shims/noop" ], "http": [ "./shims/http" ], @@ -40,11 +42,15 @@ "strictInjectionParameters": true, "fullTemplateTypeCheck": true }, + "include": [ + "./src", + "../../shared" + ], "exclude": [ + "../../node_modules", "../node_modules", - "node_modules", - "dist", - "../server", - "src/**/*.spec.ts" + "../dist", + "../../server", + "../src/**/*.spec.ts" ] }