diff --git a/console/ui/angular.json b/console/ui/angular.json index a4f9675ace..50a5abf283 100644 --- a/console/ui/angular.json +++ b/console/ui/angular.json @@ -47,9 +47,17 @@ "namedChunks": true }, "configurations": { + "local": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true + }, "production": { "outputPath": "dist/prod", - "deployUrl": "static/", + "baseHref": "/", "fileReplacements": [ { "replace": "src/environments/environment.ts", @@ -78,7 +86,7 @@ }, "production-nt": { "outputPath": "dist/prod-nt", - "deployUrl": "static/", + "baseHref": "/", "fileReplacements": [ { "replace": "src/environments/environment.ts", @@ -114,6 +122,9 @@ "browserTarget": "ui:build" }, "configurations": { + "local": { + "browserTarget": "ui:build:local" + }, "production": { "browserTarget": "ui:build:production" } diff --git a/console/ui/dist/prod-nt/index.html b/console/ui/dist/prod-nt/index.html index 2e6b640b56..77e7e33667 100644 --- a/console/ui/dist/prod-nt/index.html +++ b/console/ui/dist/prod-nt/index.html @@ -2,12 +2,12 @@