Skip to content
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

@tailwindcss/upgrade@next: Incorrect @source location selected for view resources. #16137

Open
kevinjbecker opened this issue Feb 1, 2025 · 0 comments

Comments

@kevinjbecker
Copy link

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';

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant