Skip to content

Commit

Permalink
docs(docs-infra): remove polyfills.ts (angular#50409)
Browse files Browse the repository at this point in the history
We can use the angular.json directly.

PR Close angular#50409
  • Loading branch information
JeanMeche authored and thePunderWoman committed May 23, 2023
1 parent 3152c4d commit fdf6cb8
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 57 deletions.
4 changes: 2 additions & 2 deletions aio/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"outputPath": "dist",
"index": "src/index.html",
"main": "src/main.ts",
"polyfills": "src/polyfills.ts",
"polyfills": ["zone.js"],
"ngswConfigPath": "src/generated/ngsw-config.json",
"tsConfig": "tsconfig.app.json",
"webWorkerTsConfig": "tsconfig.worker.json",
Expand Down Expand Up @@ -216,7 +216,7 @@
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "src/test.ts",
"polyfills": "src/polyfills.ts",
"polyfills": ["zone.js", "zone.js/testing"],
"tsConfig": "tsconfig.spec.json",
"webWorkerTsConfig": "tsconfig.worker.json",
"karmaConfig": "karma.conf.js",
Expand Down
53 changes: 0 additions & 53 deletions aio/src/polyfills.ts

This file was deleted.

1 change: 0 additions & 1 deletion aio/tsconfig.app.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
},
"files": [
"src/main.ts",
"src/polyfills.ts"
],
"include": [
"src/**/*.d.ts"
Expand Down
1 change: 0 additions & 1 deletion aio/tsconfig.spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
},
"files": [
"src/test.ts",
"src/polyfills.ts"
],
"include": [
"src/testing/**/*.ts",
Expand Down

0 comments on commit fdf6cb8

Please sign in to comment.