53c72b0eae
* fix: walletconnect does not work * fix: walletconnect does not work added buffer * chore: moved global from env-config.js
13 lines
428 B
TypeScript
13 lines
428 B
TypeScript
/**
|
|
* Polyfill stable language features. These imports will be optimized by `@babel/preset-env`.
|
|
*
|
|
* See: https://github.com/zloirock/core-js#babel
|
|
*/
|
|
import 'core-js/stable';
|
|
import 'regenerator-runtime/runtime';
|
|
|
|
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
|
window.Buffer = require('buffer/').Buffer;
|
|
// eslint-disable-next-line no-undef, no-global-assign, no-native-reassign
|
|
window.global = globalThis;
|