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.
1 parent 8754188 commit 98db259Copy full SHA for 98db259
modules/web/src/polyfills.ts
@@ -30,7 +30,8 @@ import 'core-js/es/string';
30
import 'core-js/es/symbol';
31
32
import 'zone.js';
33
+import {Buffer} from 'buffer';
34
35
(window as any).global = window;
36
(window as any).process = {browser: true, env: {}};
-(window as any).Buffer = (window as any).Buffer || require('buffer').Buffer;
37
+(window as any).Buffer = (window as any).Buffer || Buffer;
0 commit comments