Skip to content

Instantly share code, notes, and snippets.

@darkoatanasovski
Created April 26, 2022 07:51
Show Gist options
  • Save darkoatanasovski/efb9d752b9f79e976f6ec2149ca0b6ff to your computer and use it in GitHub Desktop.
Save darkoatanasovski/efb9d752b9f79e976f6ec2149ca0b6ff to your computer and use it in GitHub Desktop.
import { Buffer } from 'buffer'; //or 'buffer/', with trailing slash
import Process from 'process';
globalThis.process = Process;
globalThis.Buffer = Buffer;
@zoan37
Copy link

zoan37 commented Dec 22, 2022

This is a lifesaver!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment