Skip to content

Commit 0c65974

Browse files
committed
build: update Stackblitz template to v21
Updates the Stackblitz template to v21 and fixes an issue with the dev server.
1 parent 21cc21e commit 0c65974

File tree

3 files changed

+2605
-2304
lines changed

3 files changed

+2605
-2304
lines changed

docs/src/assets/stackblitz/angular.json

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"prefix": "app",
2222
"architect": {
2323
"build": {
24-
"builder": "@angular-devkit/build-angular:application",
24+
"builder": "@angular/build:application",
2525
"options": {
2626
"outputPath": "dist/example-app",
2727
"index": "src/index.html",
@@ -65,7 +65,7 @@
6565
"defaultConfiguration": "production"
6666
},
6767
"serve": {
68-
"builder": "@angular-devkit/build-angular:dev-server",
68+
"builder": "@angular/build:dev-server",
6969
"configurations": {
7070
"production": {
7171
"buildTarget": "example-app:build:production"
@@ -76,14 +76,8 @@
7676
},
7777
"defaultConfiguration": "development"
7878
},
79-
"extract-i18n": {
80-
"builder": "@angular-devkit/build-angular:extract-i18n",
81-
"options": {
82-
"buildTarget": "example-app:build"
83-
}
84-
},
8579
"test": {
86-
"builder": "@angular-devkit/build-angular:karma",
80+
"builder": "@angular/build:karma",
8781
"options": {
8882
"main": "src/test.ts",
8983
"polyfills": ["zone.js", "zone.js/testing"],

0 commit comments

Comments
 (0)