Open NfNitLoop opened 3 years ago
Thanks for filing! I'd love to let v2.40.0 settle a bit before adopting, since we've been bitten in the past by immediately updating to the latest Rollup releases. Once #2707 is out, then lets prioritize this.
Just checking in on this, and it still seems that the most recent version of Rollup (2.46.0
) still has an issue with treeshaking as outlined here: https://github.com/snowpackjs/snowpack/pull/2572. Will hold off a bit longer in updating Rollup either until this is fixed in Rollup, or we have a better workaround.
I believe this is the issue Rollup is tracking, among other treeshaking bugs: https://github.com/rollup/rollup/issues/3878
This is due to a bug which has been fixed in Rollup v2.40.0:
I believe if Snowpack updates to v2.40.0 this should solve the issue.