vue-typeahead-bootstrap
vue-typeahead-bootstrap copied to clipboard
Vite - lodash import don't work
Hi,
I am migrating a vue2 project to vite (4). In doing so, I found that vue-typeahead-bootstrap wouldn't import.
The problem is in the import of lodash.
import clone from 'lodash/clone'
...
These give an error due to no export "default". There is an outstanding issue in Vite relating to this problem.
https://github.com/vitejs/vite/issues/6632
I found that if I pinned my release to 2.5.3-beta, it works around the problem.
I don't require a fix for this and hopefully the bug will be fixed in Vite sometime. I am noting the problem here for information
Thanks
Kevin