stellar / js-soroban-client

Main Soroban client library for the Javascript language
https://stellar.github.io/js-soroban-client/
Apache License 2.0
22 stars 17 forks source link

Prepare v0.7.2 for release, further increasing downstream JS compatibility. #96

Closed Shaptic closed 1 year ago

Shaptic commented 1 year ago

After v0.7.1 (see #95), we broadened compatibility by transpiling browser bundles to an older JS feature set.

Unfortunately, this was insufficient, as Babel ignores any dependencies in Webpack's transpilation step if using a .babelrc file. By migrating to a babel.config.json file (see docs here, "You want to compile node_modules?") and adding the appropriate dependencies to the webpack config (note the delta on the exclude line), we can transpile these to the same feature set as the library itself.

cc @esteblock if you want to include this in your release, but it isn't required :+1: