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

Reduce Bundle Size? #1004

Open
MichaelHeinzman opened this issue May 14, 2024 · 0 comments
Open

Reduce Bundle Size? #1004

MichaelHeinzman opened this issue May 14, 2024 · 0 comments

Comments

@MichaelHeinzman
Copy link

MichaelHeinzman commented May 14, 2024

Description & Motivation

I'm just wondering if there's anyway to reduce the bundle size so that when utilizing certain components it doesn't increase the file size by 1mb each time I import @adobe/aem-core-cif-react-components. When I comment out these imports and use custom coded ones that do the same thing, the performance in lighthouse significantly increases, from around 34 to around 48. I'm not sure if there's a way to only import the necessary code instead of the whole bundle.

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

No branches or pull requests

1 participant