Skip to content

fix: only optimize annoymous iife#5486

Merged
lukastaegert merged 4 commits intorollup:masterfrom
liuly0322:fix-iife
Apr 23, 2024
Merged

fix: only optimize annoymous iife#5486
lukastaegert merged 4 commits intorollup:masterfrom
liuly0322:fix-iife

Conversation

@liuly0322
Copy link
Copy Markdown
Contributor

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

If a IIFE has a name, it may lose track. In this case we probably should not consider to optimize them.

@vercel
Copy link
Copy Markdown

vercel bot commented Apr 23, 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 Apr 23, 2024 4:10am

Copy link
Copy Markdown
Contributor

@sparecycles sparecycles left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, I think? (Don't take my word for it, I'm new here!)

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.83%. Comparing base (18839eb) to head (229b657).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #5486   +/-   ##
=======================================
  Coverage   98.83%   98.83%           
=======================================
  Files         238      238           
  Lines        9560     9563    +3     
  Branches     2444     2446    +2     
=======================================
+ Hits         9449     9452    +3     
  Misses         46       46           
  Partials       65       65           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Co-authored-by: Adam Freidin <adam.freidin@gmail.com>
Copy link
Copy Markdown
Member

@lukastaegert lukastaegert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good work!

@lukastaegert lukastaegert enabled auto-merge April 23, 2024 04:44
@lukastaegert lukastaegert added this pull request to the merge queue Apr 23, 2024
Merged via the queue into rollup:master with commit bcf4499 Apr 23, 2024
@github-actions
Copy link
Copy Markdown

This PR has been released as part of rollup@4.16.3. You can test it via npm install rollup.

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 breaks acorn-walk "simple" 4.16.0+

3 participants