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

🏗 custom-elements-polyfill.js is now bento.js, and async #36431

Merged
merged 7 commits into from
Oct 20, 2021

Conversation

alanorozco
Copy link
Member

Partial for #36421

This provides bento.js and alias it as custom-elements-polyfill.js for backwards compat.

It also allows bento.js to be used as async, which is why we provide self.BENTO and wrap extensions so that they push to it.

This change does not yet move shared dependencies into bento.js.

@amp-owners-bot
Copy link

Hey @westonruter, @ediamin! These files were changed:

extensions/amp-wordpress-embed/1.0/README.md

@samouri
Copy link
Member

samouri commented Oct 20, 2021

Is Bento the only current consumer of the CE Polyfill binary?

src/bento.js Show resolved Hide resolved
@samouri
Copy link
Member

samouri commented Oct 20, 2021

Is there documentation that needs to change as well? Do you plan on doing that in this PR or in a separate one?

@alanorozco
Copy link
Member Author

@samouri I updated all documentation in this repo. If there's some other place where I should change it please let me know.

@alanorozco
Copy link
Member Author

Is Bento the only current consumer of the CE Polyfill binary?

Yep

build-system/tasks/helpers.js Outdated Show resolved Hide resolved
Copy link
Member

@samouri samouri left a comment

Choose a reason for hiding this comment

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

Thank you for the great work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants