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

rfc: add a reduced rollup for the core of fast-element and change the current bundle to fast-element.all #7025

Open
chrisdholt opened this issue Sep 24, 2024 · 0 comments
Labels
area:fast-element Pertains to fast-element community:noteworthy An issue or PR of particular interest to the community or planned for an announcement. improvement A non-feature-adding improvement

Comments

@chrisdholt
Copy link
Member

💬 RFC

The current rollup bundle for fast-element includes everything that is currently available with FAST. With that, the size of importing fast-element itself as a module for basic needs is significant.

The goal of this is to provide the best of both worlds - a lean rollup of only what is necessary to render a custom element, and a larger "all" rollup which would include additional considerations such as directives, etc.

This may technically be a breaking change for those who use the CDN or who import fast-element.js as ESM from the package dist, so we'd like feedback from the community to gauge interest in this change and slight performance optimization for basic use cases.

@chrisdholt chrisdholt added improvement A non-feature-adding improvement area:fast-element Pertains to fast-element community:noteworthy An issue or PR of particular interest to the community or planned for an announcement. labels Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:fast-element Pertains to fast-element community:noteworthy An issue or PR of particular interest to the community or planned for an announcement. improvement A non-feature-adding improvement
Projects
None yet
Development

No branches or pull requests

1 participant