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
I'm working on a Laravel project that uses Vite. Everything was working great, but after adding a GeoJson file in a backend folder, Vite started running very slowly. Build runs changed from 400ms to 1m17s. Dev is also very slow.
This GeoJson file is unrelated to the frontend stuff and not referenced by any JS/CSS code.
What version of Tailwind CSS are you using?
v4.1.4 (the problem starts from 4.0.10)
What build tool (or framework if it abstracts the build tool) are you using?
Laravel 12, Vite ^6.2.4, @tailwindcss/vite ^4.1.4
What version of Node.js are you using?
v20.9.0 | v22.14.0
What operating system are you using?
Reproduction URL
https://github.com/emaia/laravel/tree/vite-bug
Describe your issue
I'm working on a Laravel project that uses Vite. Everything was working great, but after adding a GeoJson file in a backend folder, Vite started running very slowly. Build runs changed from 400ms to 1m17s. Dev is also very slow.
This GeoJson file is unrelated to the frontend stuff and not referenced by any JS/CSS code.
Steps to reproduce
(It's just a fork from laravel/laravel + 19mb geojson file)
@tailwindcss/vite to 4.0.9
or change css toimport 'tailwindcss' source(none);
it runs fast.Originally posted by @emaia in #16911
The text was updated successfully, but these errors were encountered: