X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fangular.json;h=950ac059e99a2e2b9ca0ec1a5e10bc595b020a6b;hb=576ddf645ff2223126d28ef172bb6388602c35f4;hp=cce930b82e638e1bef0ec84da98d29149428bb71;hpb=970ceac0a6bf4990b8924738591df4949491ec9b;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/angular.json b/client/angular.json index cce930b82..950ac059e 100644 --- a/client/angular.json +++ b/client/angular.json @@ -15,7 +15,7 @@ "outputPath": "dist", "index": "src/index.html", "main": "src/main.ts", - "tsConfig": "src/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", "polyfills": "src/polyfills.ts", "stylePreprocessorOptions": { "includePaths": [ @@ -47,11 +47,8 @@ "budgets": [ { "type": "initial", - "type": "initial", - "maximumWarning": "2mb", "maximumWarning": "2mb", "maximumError": "5mb" - "maximumError": "5mb" }, { "type": "anyComponentStyle", @@ -89,7 +86,8 @@ "options": { "baseHref": "/", "deployUrl": "client/", - "browserTarget": "PeerTube:build" + "browserTarget": "PeerTube:build", + "proxyConfig": "proxy.config.json" }, "configurations": { "production": { @@ -99,7 +97,8 @@ "browserTarget": "PeerTube:build:hmr" }, "e2e": { - "browserTarget": "PeerTube:build:e2e" + "browserTarget": "PeerTube:build:e2e", + "proxyConfig": "e2e/proxy.config.json" } } }, @@ -130,8 +129,7 @@ "builder": "@angular-devkit/build-angular:tslint", "options": { "tsConfig": [ - "src/tsconfig.app.json", - "src/tsconfig.spec.json" + "tsconfig.app.json" ], "exclude": [ "**/node_modules/**"