diff --git a/packages/phoenix-ng/angular.json b/packages/phoenix-ng/angular.json index ad33fc52..9366b0be 100644 --- a/packages/phoenix-ng/angular.json +++ b/packages/phoenix-ng/angular.json @@ -18,12 +18,13 @@ }, "architect": { "build": { - "builder": "@angular-devkit/build-angular:browser", + "builder": "@angular-devkit/build-angular:application", "options": { - "outputPath": "dist/phoenix-app", + "outputPath": { + "base": "dist/phoenix-app" + }, "index": "projects/phoenix-app/src/index.html", - "main": "projects/phoenix-app/src/main.ts", - "polyfills": "projects/phoenix-app/src/polyfills.ts", + "polyfills": ["projects/phoenix-app/src/polyfills.ts"], "tsConfig": "projects/phoenix-app/tsconfig.app.json", "assets": [ "projects/phoenix-app/src/favicon.ico", @@ -40,12 +41,11 @@ "stats-js" ], "scripts": [], - "vendorChunk": true, "extractLicenses": false, - "buildOptimizer": false, "sourceMap": true, "optimization": false, - "namedChunks": true + "namedChunks": true, + "browser": "projects/phoenix-app/src/main.ts" }, "configurations": { "production": { @@ -59,8 +59,6 @@ "outputHashing": "all", "namedChunks": false, "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true, "budgets": [ { "type": "initial", @@ -84,8 +82,6 @@ "outputHashing": "all", "namedChunks": false, "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true, "budgets": [ { "type": "initial", @@ -135,7 +131,7 @@ }, "architect": { "build": { - "builder": "@angular-devkit/ng-packagr:build", + "builder": "@angular-devkit/build-angular:ng-packagr", "options": { "tsConfig": "projects/phoenix-ui-components/tsconfig.lib.json", "project": "projects/phoenix-ui-components/ng-package.json" diff --git a/packages/phoenix-ng/tsconfig.json b/packages/phoenix-ng/tsconfig.json index 8a5690d7..a007c52f 100644 --- a/packages/phoenix-ng/tsconfig.json +++ b/packages/phoenix-ng/tsconfig.json @@ -5,11 +5,9 @@ "outDir": "./dist/out-tsc", "sourceMap": true, "declaration": false, - "downlevelIteration": true, "experimentalDecorators": true, "moduleResolution": "node", "resolveJsonModule": true, - "allowSyntheticDefaultImports": true, "esModuleInterop": true, "importHelpers": true, "target": "es2022",