ice
ice copied to clipboard
Webpack compile error when run "new Web3(ethereum)"
Describe the bug
When I introduce webjs and instantiate the object, the compilation will report an error
Expected behavior
compile normally
Actual behavior
import Web3 from 'web3';
cosnt ethereum = window.ethereum const web3 = new Web3(ethereum);
and then compile error
Version of ice.js
3.0.0
Content of build.json or ice.config.mts
No response
Additional context
No response
Please take a look at this question, it is urgent, thank you
Fixed in #6472