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.
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.