Css versioning with the function bundle('app')->enqueue()?

Hello everyone,

Is there a way to add a custom parameter string at the and of the enquired css with the function bundle(‘app’)->enqueue() ?
in Wordpress native function, you can do this easily with the function wp_enqueue_script( … ,v2) Which translates to website.com/style.css?v2

Right now I dont have access to the server cache, therfore the only solution available is to version the css and js files. I tried css hashing but it does not solve the problem, since the server calls the old generated css file with the old hash.

Hi there :wave: I don’t think Acorn supports doing this easily, but you could use the style_loader_src hook to add one

I will take a look at it, Thanks :slight_smile: