From c768fab56f3174185df7921e1fafa4e8944325e3 Mon Sep 17 00:00:00 2001 From: Alan Agius Date: Thu, 24 Sep 2020 13:01:50 +0200 Subject: [PATCH] fix(@angular-devkit/build-angular): add missing defaults to `optimization` property --- packages/angular_devkit/build_angular/src/browser/schema.json | 1 + packages/angular_devkit/build_angular/src/server/schema.json | 1 + 2 files changed, 2 insertions(+) diff --git a/packages/angular_devkit/build_angular/src/browser/schema.json b/packages/angular_devkit/build_angular/src/browser/schema.json index 803997d2d2a2..bc5aa4002ba8 100644 --- a/packages/angular_devkit/build_angular/src/browser/schema.json +++ b/packages/angular_devkit/build_angular/src/browser/schema.json @@ -59,6 +59,7 @@ "optimization": { "description": "Enables optimization of the build output.", "x-user-analytics": 16, + "default": false, "oneOf": [ { "type": "object", diff --git a/packages/angular_devkit/build_angular/src/server/schema.json b/packages/angular_devkit/build_angular/src/server/schema.json index 6519f1a718a2..b62571479787 100644 --- a/packages/angular_devkit/build_angular/src/server/schema.json +++ b/packages/angular_devkit/build_angular/src/server/schema.json @@ -31,6 +31,7 @@ "optimization": { "description": "Enables optimization of the build output.", "x-user-analytics": 16, + "default": false, "oneOf": [ { "type": "object",