diff --git a/esbuild.config.js b/esbuild.config.js index 3fa3dd3..79de58f 100644 --- a/esbuild.config.js +++ b/esbuild.config.js @@ -8,17 +8,10 @@ esbuild.buildSync({ format: "cjs", mainFields: ["main"], external: [ - "buffer", - "buffer-from", "udx-native", "secp256k1", "bigint-buffer", - "elliptic", - "@pokt-network/amino-js", - "@pokt-network/pocket-js", "bufferutil", - "utf-8-validate", - "msgpackr-extract", "sodium-native", "loady", "bcrypto", @@ -26,131 +19,8 @@ esbuild.buildSync({ "hsd", "goosig", "mrmr", - "lodash", - "through", - "JSONStream", - "jayson", - "msgpackr", - "tslib", - "async-mutex", - "clone", - "node-cache", - "kademlia-routing-table", - "time-ordered-set", - "sodium-universal", - "b4a", - "compact-encoding", - "nat-sampler", - "fast-fifo", - "compact-encoding-net", - "dht-rpc", - "@hyperswarm/dht", - "bsert", - "bcfg", - "loglevel", - "@ethersproject/bignumber", - "@ethersproject/logger", - "@ethersproject/properties", - "@ethersproject/abi", - "@ethersproject/bytes", - "@ethersproject/abstract-provider", - "@ethersproject/abstract-signer", - "@ethersproject/keccak256", - "@ethersproject/rlp", - "@ethersproject/address", - "@ethersproject/constants", - "@ethersproject/signing-key", - "@ethersproject/transactions", - "@ethersproject/contracts", - "@ethersproject/strings", - "@ethersproject/hash", - "@ethersproject/basex", - "@ethersproject/pbkdf2", - "@ethersproject/sha2", - "@ethersproject/wordlists", - "@ethersproject/hdnode", - "@ethersproject/random", - "@ethersproject/json-wallets", - "@ethersproject/wallet", - "@ethersproject/networks", - "@ethersproject/base64", - "@ethersproject/web", - "@ethersproject/providers", - "@ethersproject/solidity", - "@ethersproject/units", - "ethers", - "js-sha3", - "bech32", - "tweetnacl", - "@solana/web3.js", - "bs32", - "binet", - "bns", - "bsock", - "brq", - "bcurl", - "hs-client", - "minimatch", - "balanced-match", - "brace-expansion", - "bignumber.js", - "json-bigint", - "algosdk", - "has-symbols", - "function-bind", - "has", - "get-intrinsic", - "call-bind", - "object-inspect", - "xmlbuilder", - "sax", - "xml2js", - "jsonify", - "queue-tick", - "safety-catch", - "protomux", - "bytes", - "content-type", - "setprototypeof", - "statuses", - "inherits", - "toidentifier", - "ms", - "debug", - "destroy", - "unpipe", - "express", - "bluebird", - "ws", - "axios", - "random-key", - "querystringify", - "node-cron", - "asynckit", - "sprintf-js", - "json-stable-stringify", - "form-data", - "mime-types", - "mime-db", - "skynet-js", - "url-join", - "url-parse", - "requires-port", - "@skynetlabs/tus-js-client", - "@skynetlabs/skynet-nodejs", - "follow-redirects", - "date-fns", - "acme-client", - "path-to-regexp", - "array-flatten", - "body-parser", - "on-finished", - "ee-first", - "raw-body", - "iconv-lite", - "safer-buffer", - "http-errors", - "@hyperswarm/dht-relay", + "@pokt-network/amino-js", + "utf-8-validate", ], define: { "global.GENTLY": false,