Draft

Payout
0 DAI

$0.00

Remaining Balance
65 DAI

Reduce bundle size of @walletconnect/utils package

ethers.js

Browserify

NPM

Webpack

JavaScript

TypeScript

circle

Pedro Gomes

Context

Recently the @walletconnect/utils package bundle size increased dramatically from 14.7kb (beta.20) to 102.1kb (beta.21). This change in size was caused by adding ethers.js as a dependency which replaced a few methods that were previously part of the @walletconnect/utils source code.

You can find the source code diff between beta.20 and beta.21 here: https://github.com/walletconnect/walletconnect-monorepo/compare/v1.0.0-beta.20..v1.0.0-beta.21#diff-234d37a781c939ff5538faf0110c211c

Goal

The goal of this issue is to reduce the bundle size significantly (down to around 20kb-30kb) while keeping the ethers.js dependency and source code changes introduced by beta.21

Submissions

0

Comments

0

  • There are 0 comments

    Submit a comment using the form above.