fuse-box
Version:
Fuse-Box a bundler that does it right
28 lines • 488 B
text/typescript
const LIST = new Set<string>(
[
"assert",
"buffer",
"child_process",
"crypto",
"events",
"fs",
"http",
"https",
"module",
"net",
"os",
"path",
"process",
"querystring",
"stream",
"timers",
"tls",
"tty",
"url",
"util",
"zlib"
]
);
export function isPolyfilledByFuseBox(name: string) {
return LIST.has(name);
}