Skip to content

Commit

Permalink
fix: update Angular sample for stackblitz compatibility
Browse files Browse the repository at this point in the history
Upgraded Angular to version 18 in order to remove zone.js due to improper polyfilling issues in the
StackBlitz workspace.
  • Loading branch information
jboix committed Jul 3, 2024
1 parent 0182cab commit da1eb9c
Show file tree
Hide file tree
Showing 5 changed files with 1,303 additions and 6,271 deletions.
10 changes: 4 additions & 6 deletions samples/angular/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,12 @@
"prefix": "pb",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:application",
"builder": "@angular/build:application",
"options": {
"outputPath": "dist/angular",
"index": "src/index.html",
"browser": "src/main.ts",
"polyfills": [
"zone.js"
],
"polyfills": [],
"tsConfig": "tsconfig.app.json",
"assets": [
"src/favicon.ico",
Expand Down Expand Up @@ -81,7 +79,7 @@
"defaultConfiguration": "production"
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"builder": "@angular/build:dev-server",
"configurations": {
"production": {
"buildTarget": "angular:build:production"
Expand All @@ -93,7 +91,7 @@
"defaultConfiguration": "development"
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"builder": "@angular/build:extract-i18n",
"options": {
"buildTarget": "angular:build"
}
Expand Down
Loading

0 comments on commit da1eb9c

Please sign in to comment.