ant-design/ant-design-web3

[Bug] @ant-design/web3-solana在vite项目中报错 Uncaught ReferenceError: global is not defined

qvvvvq opened this issue · 1 comments

What happens?

How To Reproduce

Steps to reproduce the behavior: 1. 2.
vite项目中正常使用@ant-design/web3-solana
Expected behavior 1. 2.

image
image
image

Context

  • Ant Design Web3 Version: 1.13.0
  • Node Version: v18.16.0
  • Platform: Chrome

You can resolve it like this #693 (comment)