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

fix(container): apply polyfill #12042

Merged
merged 1 commit into from
Sep 20, 2024
Merged

fix(container): apply polyfill #12042

merged 1 commit into from
Sep 20, 2024

Conversation

ematipico
Copy link
Member

@ematipico ematipico commented Sep 20, 2024

Changes

Applies polyfill to the container API

Testing

CI should pass

Docs

N/A

Copy link

changeset-bot bot commented Sep 20, 2024

🦋 Changeset detected

Latest commit: 7b0af08

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions github-actions bot added the pkg: astro Related to the core `astro` package (scope) label Sep 20, 2024
@@ -0,0 +1,3 @@
import { applyPolyfills } from '../core/app/node.js';
Copy link
Member

Choose a reason for hiding this comment

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

What's the reason for the separate file?

Copy link
Member

Choose a reason for hiding this comment

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

that's because it needs to run first, even before other imports. We did that on the adapters repo as well

Copy link
Member

@Princesseuh Princesseuh Sep 20, 2024

Choose a reason for hiding this comment

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

ah yea, bundling. Annoying. The original file should probably be made a side effect though. We could have like a import "astro/polyfill"; thing. But I guess this is our last polyfills so, we don't care very much

Copy link
Member

Choose a reason for hiding this comment

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

yeah that's also what i thought, probably not worth it at this point

@ematipico ematipico merged commit 243ecb6 into main Sep 20, 2024
13 checks passed
@ematipico ematipico deleted the fix/container-api-polyfill branch September 20, 2024 17:09
@astrobot-houston astrobot-houston mentioned this pull request Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg: astro Related to the core `astro` package (scope)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants