GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — animated-java/.scripts/plugins/bufferPatchFunction.ts at main · Animated-Java/animated-java Expand file tree/ Copy pathbufferPatchFunction.tsMore file actions 19 lines (17 loc) · 452 Bytes / Copy pathbufferPatchFunction.tsFile metadata and controls19 lines (17 loc) · 452 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 import { type Plugin } from 'esbuild' export default function plugin(): Plugin { return { name: 'bufferPatchPlugin', setup(build) { build.onResolve({ filter: /^buffer$/ }, args => { return { path: args.path, namespace: 'buffer-namespace' } }) build.onLoad({ filter: /^buffer$/, namespace: 'buffer-namespace' }, () => { return { contents: `export const Buffer = globalThis.Buffer;`, loader: 'js', } }) }, } } |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |