Version
0.6.4
Describe the Bug
Maudit hashes assets before bundling, this is done on purpose so that assets are more flexible and for performance reasons. This works for all kinds of assets, including transformed images, but is wrong for Tailwind, where the content changes based on things unrelated to the file itself.
There's some annoying hacks, like changing the hash on every build (which is what I'm leaning towards right now), but I wonder if there's not a better solution somehow. I wouldn't mind if hashing Tailwind files is slower because it has to call Tailwind to check or something, but calling to Tailwind is not slow, it's extremely mega slow due to Node overhead, so this probably isn't possible. Perhaps tailwind-oxide could help us here since we're really only looking for classes, not sure.
Participation
Version
0.6.4
Describe the Bug
Maudit hashes assets before bundling, this is done on purpose so that assets are more flexible and for performance reasons. This works for all kinds of assets, including transformed images, but is wrong for Tailwind, where the content changes based on things unrelated to the file itself.
There's some annoying hacks, like changing the hash on every build (which is what I'm leaning towards right now), but I wonder if there's not a better solution somehow. I wouldn't mind if hashing Tailwind files is slower because it has to call Tailwind to check or something, but calling to Tailwind is not slow, it's extremely mega slow due to Node overhead, so this probably isn't possible. Perhaps tailwind-oxide could help us here since we're really only looking for classes, not sure.
Participation