Hello,
I have an issue with Vite and a specific module (react-day-picker) based on the import. One of the hotfix is to manually check if the module expose default
or not.
import _Picker from 'react-day-picker/DayPicker'
const Picker = _Picker.default || _Picker;
What would be the best way to handle this ?
Cheers