F
Filament3mo ago
jals65

Theme app.css cache busting

I see in filament css links you have the version to prevent cache whent it updates. It's possible to do the same with the app.css? I have this in the AdminPanelProvider.php
->theme(
mix('css/app.css')
)
->theme(
mix('css/app.css')
)
Solution:
finaly i solve it adding on the webpack.mix.js this: ``` if (mix.inProduction()) { mix.version();...
Jump to solution
1 Reply
Solution
jals65
jals653mo ago
finaly i solve it adding on the webpack.mix.js this:
if (mix.inProduction()) {
mix.version();
}
if (mix.inProduction()) {
mix.version();
}