how to disable id variable in image url when using function @asset
I want remove ?id=5f249136909e247beb29
public/images/logo.png?id=5f249136909e247beb29
how to disable id variable in image url when using function @asset
I want remove ?id=5f249136909e247beb29
public/images/logo.png?id=5f249136909e247beb29
I have the same problem. DId you figure out what was the cause?
To add to this, I have soil’s disable-asset-versioning on and $ver = null
in wp_enqueue_script()
Weirdly enough, it only happens to assets enqueued in Sage.
Example:
wp_enqueue_script('sage/carousel.js', asset('scripts/carousel.js')->uri(), [], null, false);