ipfs-vite-svelte-kit
ipfs-vite-svelte-kit copied to clipboard
fix esbuild external: node, util, net
i had to use
esbuild --external:node:* --external:net --external:util
to build src/modules/ipfs-core/ipfs-core.js
otherwise esbuild would say
✘ [ERROR] Could not resolve "util"
✘ [ERROR] Could not resolve "node:http"
✘ [ERROR] Could not resolve "node:https"
✘ [ERROR] Could not resolve "node:zlib"
✘ [ERROR] Could not resolve "node:stream"
✘ [ERROR] Could not resolve "net"