DEV Community

[Comment from a deleted post]
Collapse
 
rhymes profile image
rhymes

I think you need to play with Webpack's configuration and disable the hash: github.com/rails/webpacker/blob/3-...

There's an example that sets the output.filename from Webpack. According to Webpack's configuration docs on output.filename that property can be a function, so you can decide dinamically which file gets what name.

It's probably how you can accomplish it, I haven't tested it.