Skip to content

Commit

Permalink
Update angular.json for Angular17
Browse files Browse the repository at this point in the history
  • Loading branch information
EdwardMoyse committed Mar 22, 2024
1 parent 3154d14 commit bbf2987
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 14 deletions.
20 changes: 8 additions & 12 deletions packages/phoenix-ng/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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": {
Expand All @@ -59,8 +59,6 @@
"outputHashing": "all",
"namedChunks": false,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"budgets": [
{
"type": "initial",
Expand All @@ -84,8 +82,6 @@
"outputHashing": "all",
"namedChunks": false,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"budgets": [
{
"type": "initial",
Expand Down Expand Up @@ -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"
Expand Down
2 changes: 0 additions & 2 deletions packages/phoenix-ng/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit bbf2987

Please sign in to comment.