X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fangular.json;h=e1e4f4850cb5372542ced50d446403dc5eda3236;hb=65af03a241aa83ab7ba71278b6c99acd26428b8a;hp=8a709e26989afb078394b4fa3b0a22eccc81b641;hpb=41b15c892192073828458d007256a9dfdf3bb6fb;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/angular.json b/client/angular.json index 8a709e269..e1e4f4850 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": [ @@ -44,6 +44,18 @@ "buildOptimizer": true, "serviceWorker": true, "ngswConfigPath": "src/ngsw-config.json", + "budgets": [ + { + "type": "initial", + "maximumWarning": "2mb", + "maximumError": "5mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "6kb", + "maximumError": "10kb" + } + ], "fileReplacements": [ { "replace": "src/environments/environment.ts", @@ -115,8 +127,7 @@ "builder": "@angular-devkit/build-angular:tslint", "options": { "tsConfig": [ - "src/tsconfig.app.json", - "src/tsconfig.spec.json" + "tsconfig.app.json" ], "exclude": [ "**/node_modules/**"