Skip to content

es/minifier: remaining cases where IIFE isn't invoked #10280

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

Open
5 tasks
Le0Developer opened this issue Mar 27, 2025 · 1 comment
Open
5 tasks

es/minifier: remaining cases where IIFE isn't invoked #10280

Le0Developer opened this issue Mar 27, 2025 · 1 comment
Milestone

Comments

@Le0Developer
Copy link

Describe the feature

More or less a tracking issue for the points in #10220

Babel plugin or link to the feature description

No response

Additional context

Sorted by my subjective opinion of implementation complexity (while barely knowing anything of the swc internals).

@Austaras
Copy link
Member

How could scenario 2 be inlined?

For scenario 4 and 5, it's possible to use a tempoaray value, but I highly doubt it would be benefitical to gzipped size judging from past history.

@kdy1 kdy1 added this to the Planned milestone May 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants