Skip to content

Reduce package size (at least for Hardhat plugin) #692

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
frangio opened this issue Feb 15, 2022 · 2 comments
Closed

Reduce package size (at least for Hardhat plugin) #692

frangio opened this issue Feb 15, 2022 · 2 comments

Comments

@frangio
Copy link
Contributor

frangio commented Feb 15, 2022

The package includes two large files related to Truffle in plugins/resources (truffle.library.js and truffle.library.js.map) which together weigh almost 40Mb. These two files amount to 99% of the package size (!) (not counting dependencies), yet they are not necessary when used as a Hardhat plugin.

See #625 for a related issue about dependencies.

@frangio frangio changed the title Reduce package size Reduce package size (at least for Hardhat plugin) Feb 15, 2022
@cgewecke
Copy link
Member

Yes these should definitely go.

@cgewecke
Copy link
Member

Removed these with 0.7.20

Provisionally, I think I will cease Truffle support here since the plugin has stopped working with the latest major version of Ganache. It's no longer able to hook into ganache internals due some to TS private variable restrictions.

Will track this via #694

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants