Skip to content

Commit

Permalink
fix: polyfills for standalone
Browse files Browse the repository at this point in the history
  • Loading branch information
timdeschryver committed Feb 4, 2023
1 parent 41e397d commit 1da23fb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -1115,7 +1115,7 @@
"outputPath": "dist/sample-code-flow-standalone",
"index": "projects/sample-code-flow-standalone/src/index.html",
"main": "projects/sample-code-flow-standalone/src/main.ts",
"polyfills": "projects/sample-code-flow-standalone/src/polyfills.ts",
"polyfills": ["zone.js"],
"tsConfig": "projects/sample-code-flow-standalone/tsconfig.app.json",
"aot": true,
"assets": [
Expand Down Expand Up @@ -1187,7 +1187,7 @@
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "projects/sample-code-flow-standalone/src/test.ts",
"polyfills": "projects/sample-code-flow-standalone/src/polyfills.ts",
"polyfills": ["zone.js", "zone.js/testing"],
"tsConfig": "projects/sample-code-flow-standalone/tsconfig.spec.json",
"karmaConfig": "projects/sample-code-flow-standalone/karma.conf.js",
"assets": ["projects/sample-code-flow-standalone/src/favicon.ico", "projects/sample-code-flow-standalone/src/assets"],
Expand Down
2 changes: 1 addition & 1 deletion projects/sample-code-flow-standalone/tsconfig.app.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
"outDir": "../../out-tsc/app",
"types": []
},
"files": ["src/main.ts", "src/polyfills.ts"],
"files": ["src/main.ts"],
"include": ["src/**/*.d.ts"]
}
2 changes: 1 addition & 1 deletion projects/sample-code-flow-standalone/tsconfig.spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
"outDir": "../../out-tsc/spec",
"types": ["jasmine", "node"]
},
"files": ["src/test.ts", "src/polyfills.ts"],
"files": ["src/test.ts"],
"include": ["src/**/*.spec.ts", "src/**/*.d.ts"]
}

0 comments on commit 1da23fb

Please sign in to comment.