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
What build tool (or framework if it abstracts the build tool) are you using?
CRA 5.
What version of Node.js are you using?
v20.10.0
What browser are you using?
N/A
What operating system are you using?
MacOS
Reproduction URL
project.zip
expected - pnpm run build:tw to fail because of the error.
actual - just passes
Describe your issue
When running Tailwindcss CLI tool, it doesn't pick up the tailwind.config.js file.
throwing errors, invalid syntax, nothing. also removing the file doesn't produce errors in the CLI.
There doesn't seem to be any way to load config file from the CLI (ie --config <...>).
The tailwind.config.js is in the project root, next to the package.json.
The text was updated successfully, but these errors were encountered:
What version of Tailwind CSS are you using?
"@tailwindcss/cli": "4.1.5",
"tailwindcss": "4.1.5",
What build tool (or framework if it abstracts the build tool) are you using?
CRA 5.
What version of Node.js are you using?
v20.10.0
What browser are you using?
N/A
What operating system are you using?
MacOS
Reproduction URL
project.zip
expected -
pnpm run build:tw
to fail because of the error.actual - just passes
Describe your issue
When running Tailwindcss CLI tool, it doesn't pick up the
tailwind.config.js
file.throwing errors, invalid syntax, nothing. also removing the file doesn't produce errors in the CLI.
There doesn't seem to be any way to load config file from the CLI (ie
--config <...>
).The
tailwind.config.js
is in the project root, next to the package.json.The text was updated successfully, but these errors were encountered: