vue-select icon indicating copy to clipboard operation
vue-select copied to clipboard

v4.0.0-beta.3 CSS Error when building with Vite.js

Open coolsam726 opened this issue 3 years ago • 2 comments

Please respect maintainers time by filling in these sections. Your issue will likely be closed without this information.

  • Vue Version: 3.2
  • Vue Select Version: 4.0.0-beta.3

Describe the bug While trying to build with vite.js, I encounter the following error:

[vite:css] Cannot read property 'length' of undefined
file: /data/www/savannabits/acacia-kitch/acacia/node_modules/vue-select/src/components/Select.vue?vue&type=style&index=0&lang.css
error during build:
TypeError: Cannot read property 'length' of undefined

Reproduction Link N/A Steps To Reproduce

  1. Create a vite.js project with vue 3
  2. Install vue-select
  3. Run vite build

Expected behavior Successful compilation

Screenshots image

coolsam726 avatar Mar 04 '22 13:03 coolsam726

When I downgrade to beta.2 the issue does not appear.

coolsam726 avatar Mar 04 '22 13:03 coolsam726

@coolsam726 thanks for reporting, I'll take a look asap!

sagalbot avatar Mar 07 '22 01:03 sagalbot