Skip to content

Revert "Do not handle declarations in modules without side effects as…#5654

Closed
skovhus wants to merge 1 commit intorollup:masterfrom
skovhus:kenneth/fix-eager-treeshaking
Closed

Revert "Do not handle declarations in modules without side effects as…#5654
skovhus wants to merge 1 commit intorollup:masterfrom
skovhus:kenneth/fix-eager-treeshaking

Conversation

@skovhus
Copy link

@skovhus skovhus commented Sep 16, 2024

This PR contains:

  • bugfix
  • feature
  • refactor
  • documentation
  • other

Are tests included?

  • yes (bugfixes and features will not be merged without tests)
  • no

Breaking Changes?

  • yes (breaking changes will not be merged unless absolutely necessary)
  • no

List any relevant issue numbers:

Description

Revert #5322 that eliminates too much code.

@vercel
Copy link

vercel bot commented Sep 16, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
rollup ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 16, 2024 8:51pm

@lukastaegert
Copy link
Member

Thank you for your effort, here is a fix that does not revert #5317: #5658
Thus, I would close this issue.

@skovhus skovhus deleted the kenneth/fix-eager-treeshaking branch September 18, 2024 06:52
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

Successfully merging this pull request may close these issues.

Treeshaking react-dnd is too eager Setting moduleSideEffects: false removes side effectful getter inside a exported function since 4.9.2

2 participants