Vite plugin task inference adds preview
, serve
, and serve-static
for lib-only projects
#29506
Labels
preview
, serve
, and serve-static
for lib-only projects
#29506
Current Behavior
The Vite plugin infers application tasks for library-only projects.
Expected Behavior
The Vite plugin should detect if the project is for building only (library).
GitHub Repo
https://github.com/oliveryasuna/nx-vite-plugin-lib-bug
Steps to Reproduce
See repo. Run
nx show project my-lib
. You'll see that the Vite plugin infers taskspreview
,serve
, andserve-static
.Nx Report
Failure Logs
Package Manager Version
No response
Operating System
Additional Information
Thanks for reading my issue!
The text was updated successfully, but these errors were encountered: