You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One component ceases to exist in the production build created via vite build. I hope I correctly identified that this is a vite bug. When I use npm run dev the component is shown.
When this component is explicitly exported and added to components: { ... } it starts working everywhere. It turns out that vite build for some reason excludes it from the build.
Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
Describe the bug
One component ceases to exist in the production build created via
vite build
. I hope I correctly identified that this is avite
bug. When I usenpm run dev
the component is shown.When this component is explicitly exported and added to
components: { ... }
it starts working everywhere. It turns out thatvite build
for some reason excludes it from the build.I created a repository that reproduces this error: https://github.com/psqq/vite-no-form
Reproduction
https://github.com/psqq/vite-no-form
Steps to reproduce
Steps:
Change source code: psqq/vite-no-form@a0fd4d9
dev
If you run
npm run dev
the form is displayedbuild
If you run it:
If you uncomment JsonForm2 in App.vue, both forms will be displayed after assembly.
System Info
Used Package Manager
npm
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: