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
While upgrading the tailwindcss dependency for a Laravel v10.48.28 project using the @tailwindcss/upgrade@next script, an incorrect source directive is generated in the resulting tailwind.css artifact.
What version of Tailwind CSS are you using?
v4.0.2 via
$ ./vendor/bin/sail pnpx @tailwindcss/upgrade@next
What build tool (or framework if it abstracts the build tool) are you using?
Vite v6.0.11, Laravel v10.48.28 (using Laravel Sail)
What version of Node.js are you using?
v23.5.0
What browser are you using?
Firefox
What operating system are you using?
Ubuntu 24.04.1 LTS on WSL
Reproduction URL
https://play.tailwindcss.com/D9EhJtqrnY?file=css
Describe your issue
While upgrading the tailwindcss dependency for a Laravel v10.48.28 project using the
@tailwindcss/upgrade@next
script, an incorrect source directive is generated in the resulting tailwind.css artifact.Script chosen source:
@source '../../vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php';
Correct source:
@source '../views/*.blade.php';
OR@source '../views/**/*.blade.php';
The text was updated successfully, but these errors were encountered: