Skip to content

Commit 2fe4041

Browse files
committed
Migrate to application builder #10134
1 parent 853e4e0 commit 2fe4041

File tree

4 files changed

+4
-56
lines changed

4 files changed

+4
-56
lines changed

angular.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"outputPath": "dist/demo",
1717
"index": "src/index.html",
1818
"browser": "src/main.ts",
19-
"polyfills": ["src/polyfills.ts"],
19+
"polyfills": ["zone.js"],
2020
"tsConfig": "tsconfig.app.json",
2121
"assets": ["src/favicon.ico", "src/assets"],
2222
"styles": ["src/styles.css"],
@@ -79,7 +79,7 @@
7979
"builder": "@angular-devkit/build-angular:karma",
8080
"options": {
8181
"main": "src/test.ts",
82-
"polyfills": "src/polyfills.ts",
82+
"polyfills": ["zone.js", "zone.js/testing"],
8383
"tsConfig": "tsconfig.spec.json",
8484
"karmaConfig": "karma.conf.js",
8585
"assets": ["src/favicon.ico", "src/assets"],

src/polyfills.ts

Lines changed: 0 additions & 52 deletions
This file was deleted.

tsconfig.app.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
"outDir": "./out-tsc/app",
66
"types": []
77
},
8-
"files": ["src/main.ts", "src/polyfills.ts"],
8+
"files": ["src/main.ts"],
99
"include": ["src/**/*.d.ts"]
1010
}

tsconfig.spec.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
"outDir": "./out-tsc/spec",
66
"types": ["jasmine"]
77
},
8-
"files": ["src/test.ts", "src/polyfills.ts"],
8+
"files": ["src/test.ts"],
99
"include": ["src/**/*.spec.ts", "src/**/*.d.ts"]
1010
}

0 commit comments

Comments
 (0)