metamask-extension icon indicating copy to clipboard operation
metamask-extension copied to clipboard

Remove `@metamask/controllers` > `babel-runtime` from direct dependencies

Open mikesposito opened this issue 2 years ago • 1 comments

babel-runtime package is included in multiple @metamask/controllers' direct deps: It is unused but takes up bundle size.

mikesposito avatar Nov 29 '22 10:11 mikesposito

babel-runtime is still used by ethjs packages and therefore also through eth-method-registry. Recent @metamask/ethjs forks remove the babel-runtime (peer)Dependency.

Below PRs aim at resolving this.

  • https://github.com/MetaMask/eth-method-registry/pull/50
  • https://github.com/MetaMask/core/pull/2064
  • https://github.com/MetaMask/ethjs-contract/pull/8
  • Also related: https://github.com/MetaMask/metamask-extension/pull/21884

legobeat avatar Nov 20 '23 09:11 legobeat