You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My apologies, accidentally hit enter in the middle of typing my comment.
I filed anza-xyz/wallet-adapter#584 against @solana/wallet-adapter - you can run esbuild index.tsx --bundle --sourcemap --outfile=src/assets/index.js on the gist I've included below and then run npm ls cipher-base and npm ls @toruslabs/eccrypto to see that Torus is the dependency causing the resolution errors.
stijlist
changed the title
Bundling with esbuild fails because of `require('stream')1
Bundling with esbuild fails because of require('stream') and require('crypto')Oct 5, 2022
As a library, we don't polyfill the dependencies on the default esm, cjs builds.
this is to prevent double polyfilling by webpack/rollup/esbuild incase you're using other deps which require polyfilling (which is often the case)
We also provide umd build which is polyfilled and can be used as a script tag in your application.
No description provided.
The text was updated successfully, but these errors were encountered: