Problemunvalidated
In a Next.js app, importing the shadcn Select component increases the initial JavaScript bundle size by ~28kB, even when only the SelectContent is intended to be used. Attempting to dynamically import SelectContent does not reduce the bundle size while the module is still imported from the Select component file.
bcf052f3-288f-48c2-abf8-82cf236f4189
In a Next.js app, importing the shadcn Select component increases the initial JavaScript bundle size by ~28kB, even when only the SelectContent is intended to be used. Attempting to dynamically import SelectContent does not reduce the bundle size while the module is still imported from the Select component file.