sagalbot / vue-select

Everything you wish the HTML <select> element could do, wrapped up into a lightweight, extensible Vue component.
https://vue-select.org
MIT License
4.62k stars 1.33k forks source link

v4.0.0-beta.3 Error when building with Vite.js bug #1609

Open Archetipo95 opened 2 years ago

Archetipo95 commented 2 years ago

Describe the bug When I try to build with "yarn build" I get props is undefined from: vSelect.props.components.default But when I try to run it with "yarn build" on vSelect.default.props.components.default it works!

Now I have to check with import.meta.env.PROD if I'm building or not.

Thanks for your hard work guys! I you need more I will add later.