CSS Bundle Hash in Webpack
You can set the hash in the CSS bundle file name using the [contenthash] command:
plugins: [new MiniCssExtractPlugin({
filename: 'build.[contenthash].css'
})],
Bundle all your CSS into a file named bundle.css and hash it.