Im creating a block plugin in worpress and each time I update my JS files, changes do not reflect to frontend because there's a browser cache.
I found some strategies in others frameworks that rename all JS files to a random name every time is compiled by webpack or similar.
Is there a way to achieve same result using WP build script and wp_enqueue_script
function?
$ver
parameter inwp_enqueue_script()
totime()
, at least while you're developing your plugin.filemtime
also