metamask-extension
metamask-extension copied to clipboard
Remove `@metamask/controllers` > `babel-runtime` from direct dependencies
babel-runtime
package is included in multiple @metamask/controllers
' direct deps: It is unused but takes up bundle size.
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