Skip to content

Commit 283b423

Browse files
committed
Fix console error
ERROR ReferenceError: "process is not defined"
1 parent 13de2e8 commit 283b423

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

projects/demo/src/polyfills.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,3 +64,4 @@ import 'zone.js/dist/zone'; // Included with Angular CLI.
6464

6565
// Add global to window, assigning the value of window itself.
6666
(window as any).global = window;
67+
(window as any).process = { env: { DEBUG: undefined } };

0 commit comments

Comments
 (0)