diff --git a/projects/example-app/project.json b/projects/example-app/project.json index 9a194298aa..bba5104512 100644 --- a/projects/example-app/project.json +++ b/projects/example-app/project.json @@ -7,12 +7,12 @@ "generators": {}, "targets": { "build": { - "executor": "@angular-devkit/build-angular:browser", + "executor": "@angular-devkit/build-angular:application", "options": { "outputPath": "dist/projects/example-app", "index": "projects/example-app/src/index.html", - "main": "projects/example-app/src/main.ts", - "polyfills": "projects/example-app/src/polyfills.ts", + "browser": "projects/example-app/src/main.ts", + "polyfills": ["zone.js"], "tsConfig": "projects/example-app/tsconfig.app.json", "assets": [ "projects/example-app/src/favicon.ico", @@ -24,20 +24,23 @@ "configurations": { "production": { "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, { "type": "anyComponentStyle", - "maximumWarning": "6kb" + "maximumWarning": "2kb", + "maximumError": "4kb" } ], "outputHashing": "all" }, "development": { - "buildOptimizer": false, "optimization": false, - "vendorChunk": true, "extractLicenses": false, - "sourceMap": true, - "namedChunks": true + "sourceMap": true } }, "defaultConfiguration": "production",