-
Notifications
You must be signed in to change notification settings - Fork 832
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
Tree-shaking is broken in "next" release #1428
Comments
Might be worth entertaining a spike on parcel alternative if this ends up looking tricky to resolve at the tooling level (similar to #1332) |
After some research, determined this is likely a change in Parcel2. This section of the docs seems to suggest perhaps it isn't supported: https://parceljs.org/features/scope-hoisting/#side-effects
This comment also potentially hints at it: parcel-bundler/parcel#4565 (comment) |
#1424
Following the above discussion, I was doing some testing around tree-shaking and it looks like the
@latest
is able to tree-shake a bit, but the@next
isn't so we must have broken something.I suspect perhaps it's got something to do to the parcel upgrade.
The text was updated successfully, but these errors were encountered: