Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Snowpack / webpack 5 compatibility #73

Open
3 of 20 tasks
bpierre opened this issue Dec 5, 2020 · 0 comments
Open
3 of 20 tasks

Snowpack / webpack 5 compatibility #73

bpierre opened this issue Dec 5, 2020 · 0 comments

Comments

@bpierre
Copy link
Contributor

bpierre commented Dec 5, 2020

This issue will keep track of the updates needed in the dependencies we use, in order to achieve full compatibility with Snowpack and webpack 5.

The two main issues are the way modules are exported, and the fact that they import native Node modules, requiring polyfills (which both Snowpack and webpack 5 don’t provide by default).

  • web3-react: replace Node imports (pull request).
  • @web3-react/frame-connector:
    • ethereum-provider: replace Node imports (pull request).
    • eth-provider: replace Node imports (pull request).
    • eth-provider: use updated ethereum-provider (commit).
    • @web3-react/frame-connector: use updated eth-provider.
  • @web3/walletconnect-connector:
  • @web3-react/portis-connector:
    • @portis/web3: replace web3-provider-engine (issue).
    • @web3-react/portis-connector: use updated @portis/web3.
  • @web3-react/walletlink-connector:
    • walletlink: replace Node imports (issue).
    • @web3-react/walletlink-connector: use updated walletlink.
  • @web3-react/torus-connector:
    • @toruslabs/torus-embed: remove use of eval().
    • @web3-react/torus-connector: use updated @toruslabs/torus-embed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant