Open
Description
Description
According to: https://vite.dev/guide/api-javascript#searchforworkspaceroot:
Search for the root of the potential workspace if it meets the following conditions, otherwise it would fallback to root:
- contains workspaces field in package.json
- contains one of the following file
lerna.json
pnpm-workspace.yaml
In the case of an NX workspace, the only condition should be that it contains the nx.json file. Could this case be added?
Suggested solution
In the case of an NX workspace, the only condition should be that it contains the nx.json file
Alternative
No response
Additional context
No response
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that request the same feature to avoid creating a duplicate.