Select2 is not showing in vue 3 production mode, but working fine in development mode

Hello,
We have installed select2 in Vue 3 app, it working fine in development mode, but when we generate the dist folder for production the component is not showing.