Closed PPan1215 closed 1 month ago
The sourceRoot
here has simply read a plain text without being parsed.
This issue has been automatically marked as stale because it hasn't had any activity for 6 months. Many things may have changed within this time. The issue may have already been fixed or it may not be relevant anymore. If at this point, this is still an issue, please respond with updated information. It will be closed in 21 days if no further activity occurs. Thanks for being a part of the Nx community! 🙏
This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context.
Current Behavior
We are using tailwindcss in our nx projects, and the project.json file looks like below:
When we are configuring tailwind using createGlobPatternsForDependencies
It throws an error:
Expected Behavior
When
sourceRoot
in project.json file is {projectRoot} token, it should resolve to its correct path.GitHub Repo
No response
Steps to Reproduce
You can simply replace
sourceRoot
with{projectRoot}/src
in this example, and then usecreateGlobPatternsForDependencies
from "@nx/react/tailwind" it should error out.Nx Report
Failure Logs
No response
Package Manager Version
pnpm - 8.6.5
Operating System
Additional Information
No response