We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents aaa1aef + 52af090 commit 6a22ed2Copy full SHA for 6a22ed2
angular.json
@@ -17,6 +17,7 @@
17
"index": "src/index.html",
18
"browser": "src/main.ts",
19
"polyfills": [
20
+ "src/polyfills.ts",
21
"zone.js"
22
],
23
"tsConfig": "tsconfig.app.json",
@@ -75,6 +76,7 @@
75
76
"builder": "@angular-devkit/build-angular:karma",
77
"options": {
78
79
80
"zone.js",
81
"zone.js/testing"
82
src/polyfills.ts
@@ -0,0 +1,4 @@
1
+(window as any).global = window;
2
+(window as any).process = {
3
+ env: { DEBUG: undefined },
4
+};
tsconfig.app.json
@@ -6,7 +6,8 @@
6
"types": []
7
},
8
"files": [
9
- "src/main.ts"
+ "src/main.ts",
10
+ "src/polyfills.ts"
11
12
"include": [
13
"src/**/*.d.ts"
0 commit comments