Webpack supports the former if you use [hash] (or [chunkhash]) in the output filename. [1] This is what create-react-app uses. [2]
[1] https://webpack.js.org/configuration/output/#output-filename
[2] https://github.com/facebookincubator/create-react-app/blob/m...