#[SOLVED] Tailwind generates long css filename

26 messages · Page 1 of 1 (latest)

tulip wyvern
#

Is there a way to fix tailwind (or astro?) generating long css filename on build? Because I don't think one of my packages 'astro-compress' is doing it 🤔. Thanks.

crimson shore
#

Hi. I believe that is Astro generating the names. Why is it a problem? It shouldn’t affect speed

#

At least not in any way you should see

tulip wyvern
#

a bit weird 🤔

sour knot
#

Ty, will be added to 1.1.0

white skiff
tulip wyvern
#

nope not yet :(

white skiff
#

The same for me

tulip wyvern
#

I tried it on a friend's astro site and it doesn't generate long css file name

#

he also uses tailwind

hollow sable
#

This changed recently

#

In 1.4.7

white skiff
#

I compiled this project found on Astro Official Github : https://github.com/onwidget/astrowind

The Dist index file is compiled with short css file name
i'm trying to find how they do it, maybe of Vite integration on astro config file.

If you find any solution, let me know, i'll do the same

GitHub

🚀 A template to make your website using Astro + Tailwind CSS. - GitHub - onwidget/astrowind: 🚀 A template to make your website using Astro + Tailwind CSS.

crimson shore
crimson shore
#

Change the version in package.json and install and then upgrade

white skiff
#

Shit the main Css file is disappeared on build folder

tulip wyvern
#

thanks for the fix

white skiff
tulip wyvern
#

yeah

#

I just changed the version into 1.4.7

white skiff
#

👍