threed-garden
Version:
ThreeD Garden: WebGL 3D Environment Interface for Next.JS React TypeScript Three.JS React-Three Physics, 2D Paper.JS; APIs: Apollo GraphQL, WordPress; CSS: Tailwind, Radix-UI; Libraries: FarmBot 3D; AI: OpenAI, DeepSeek
18 lines (12 loc) • 389 B
text/typescript
import * as nodeBuffer from 'buffer'
import * as nodeProcess from 'process'
import * as util from 'util'
import 'eth-hooks/helpers/__global'
// (window as any).global = window;
// const global = window;
if (!global.hasOwnProperty('Buffer')) {
(global as any).Buffer = nodeBuffer.Buffer
}
(global as any).process = nodeProcess
;(global as any).util = util
export {}