unplugin-vue-components
unplugin-vue-components copied to clipboard
After upgrading to vite3.0,Some components disappeared
Describe the bug
Both local dev
and build
can be accessed normally, and the problem occurs after the release
There is an exception code comment in the component
related https://github.com/vitejs/vite/issues/9114
Reproduction
https://github.com/ckvv/vite-test
System Info
System:
OS: Linux 4.14 Amazon Linux AMI 2018.03
CPU: (2) x64 Intel(R) Xeon(R) Platinum 8275CL CPU @ 3.00GHz
Memory: 537.37 MB / 3.65 GB
Shell: 4.2.46 - /bin/bash
Binaries:
Node: 16.13.0 - ~/.nvm/versions/node/v16.13.0/bin/node
Yarn: 1.22.5 - /usr/bin/yarn
npm: 8.1.0 - ~/.nvm/versions/node/v16.13.0/bin/npm
npmPackages:
@vitejs/plugin-vue2: 1.1.2 => 1.1.2
vite: 2.9.14 => 2.9.14
Used Package Manager
yarn
Validations
- [X] Follow our Code of Conduct
- [X] Read the Contributing Guide.
- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- [X] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
- [X] The provided reproduction is a minimal reproducible of the bug.