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
It's a bit like #7009, do you think so?
Maybe what you're expecting is something like this:
vite build # build the lib
vite build-lib-preview # build the site used in development and use the prev step artifact instead of bundleless source code
vite preview
When implementing, multiple scenarios should be considered. Such as which artifact should be used if there are multiple formats 🤔
Yes I think so - basically a way to build both, but if vite does some cleaning of the dist folder then I think build-lib-preview would remove the library artefacts from vite build?
Description
The website is for documenting the component, so we should be able to build and publish both.
Suggested solution
When using library mode: https://vitejs.dev/guide/build.html#library-mode
Continue to build the website as before as this is typically for documentation and/or demos of the component.
Alternative
No response
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: