Skip to content
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

deprecate: dynamic import, import.meta, edge polyfills #450

Merged
merged 3 commits into from
Jan 13, 2025

Conversation

guybedford
Copy link
Owner

This removes the old dynamic import polyfill that only applies for Safari 10 and Firefox 60 - 66, effectively removing these supports from the polyfill as a deferred v2 deprecation while v2 is still being stabilized.

Since all environments that support dynamic import also support import meta, we also remove this check as well.

In addition an old import fix for edge is also removed, and some remaining async resolver paths are removed as well, making this a net deletion.

Various other refactorings include reducing the mutation observer overhead, better supporting the second argument to import, and removing some unnecessary feature detection.

@guybedford guybedford merged commit c4b4334 into main Jan 13, 2025
9 checks passed
@guybedford guybedford deleted the remove-dynamic-import-polyfill branch January 13, 2025 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.

1 participant