trufflesuite / ganache

:warning: The Truffle Suite is being sunset. For information on ongoing support, migration options and FAQs, visit the Consensys blog. Thank you for all the support over the years.
https://consensys.io/blog/consensys-announces-the-sunset-of-truffle-and-ganache-and-new-hardhat?utm_source=github&utm_medium=referral&utm_campaign=2023_Sep_truffle-sunset-2023_announcement_
MIT License
2.62k stars 678 forks source link

build: remove webpack hack #3916

Closed MicaiahReid closed 1 year ago

MicaiahReid commented 1 year ago

This PR removes the main hack in our webpack process that caused Ganache to be dependent upon minification to work.

The downside of this fix is that all ethereumjs codepaths within if(process.env.DEBUG) scenarios used to be removed completely from our build, while now they remain. Once #2306 over at @ethereumjs is fixed, we can further improve upon this PR.