-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tailwind does not work in new workspace with React, No React Framework, Rspack, Tailwind setup #27028
Comments
Rspack.config.js should be like this!
|
…7619) <!-- Please make sure you have read the submission guidelines before posting an PR --> <!-- https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#-submitting-a-pr --> <!-- Please make sure that your commit message follows our format --> <!-- Example: `fix(nx): must begin with lowercase` --> <!-- If this is a particularly complex change or feature addition, you can request a dedicated Nx release for this pull request branch. Mention someone from the Nx team or the `@nrwl/nx-pipelines-reviewers` and they will confirm if the PR warrants its own release for testing purposes, and generate it for you if appropriate. --> ## Current Behavior <!-- This is the behavior we have today --> React, Tailwind and Rspack is not working out of the box ## Expected Behavior <!-- This is the behavior we should expect with the changes in this PR --> It works out of the box. In tandem with nrwl/nx-labs#415 ## Related Issue(s) <!-- Please link the issue being fixed so it gets closed when this is merged. --> Fixes #27028
…7619) <!-- Please make sure you have read the submission guidelines before posting an PR --> <!-- https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#-submitting-a-pr --> <!-- Please make sure that your commit message follows our format --> <!-- Example: `fix(nx): must begin with lowercase` --> <!-- If this is a particularly complex change or feature addition, you can request a dedicated Nx release for this pull request branch. Mention someone from the Nx team or the `@nrwl/nx-pipelines-reviewers` and they will confirm if the PR warrants its own release for testing purposes, and generate it for you if appropriate. --> ## Current Behavior <!-- This is the behavior we have today --> React, Tailwind and Rspack is not working out of the box ## Expected Behavior <!-- This is the behavior we should expect with the changes in this PR --> It works out of the box. In tandem with nrwl/nx-labs#415 ## Related Issue(s) <!-- Please link the issue being fixed so it gets closed when this is merged. --> Fixes #27028 (cherry picked from commit add4183)
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
Create a new Nx workspace, Select React, No React Framework, Rspack, Tailwind
Tailwind setup does not work
Create a new Nx workspace, Select React, No React Framework, Webpack, Tailwind
Tailwind setup works
Going through manual setup as mentioned in nx.dev didn't helped either.
Expected Behavior
Tailwind should work with Rspack & React
GitHub Repo
No response
Steps to Reproduce
Create a new Nx workspace, Select React, No React Framework, Rspack, Tailwind
Tailwind setup does not work
Nx Report
Failure Logs
Package Manager Version
npm 9.5.1
Operating System
Additional Information
Tailwind docs suggest
postcss-loader
in configuration forrspack
which is missing in@nx/rspack
+@nx/react
combohttps://tailwindcss.com/docs/guides/rspack
The text was updated successfully, but these errors were encountered: