I'm trying to use the package in a legacy environment, where new features (eg. numeric separators) are not supported and node modules packages are not transpiled down. My simplified setup is in a repro repo
If you try to start the project there are babel loader errors, such as:
Module parse failed: Identifier directly after number (40:104)
File was processed with these loaders:
* ./node_modules/babel-loader/lib/index.js
You may need an additional loader to handle the result of these loaders.
| static wrap(provider) {
| let delay = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 16;
> let maxMulticallDataLength = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 200_000;
Expected Behavior
Currently, the project seems to be using esnext target
I think this package should support the same es version as ethers package, which is es5 for ethers v5.7.2
Current Behavior
I'm trying to use the package in a legacy environment, where new features (eg. numeric separators) are not supported and node modules packages are not transpiled down. My simplified setup is in a repro repo If you try to start the project there are babel loader errors, such as:
Expected Behavior
Currently, the project seems to be using esnext target I think this package should support the same es version as ethers package, which is es5 for ethers v5.7.2
Steps to Reproduce the Problem
Environment