Currently we just append the server boot times to the JS URLs, but Webpack supports configuration like filename: '[name].[contenthash].js'. We'd need to figure out how to store the content hashes somewhere to be picked up on server launch. Probably just for production environments.
Have Webpack generate content hashes in the filenames
In base.template.tsx, have a function actually browse the js/css folders to figure out the filenames (only once, then cache them in variables). Use those to write the script/link tags.
Currently we just append the server boot times to the JS URLs, but Webpack supports configuration like
filename: '[name].[contenthash].js'
. We'd need to figure out how to store the content hashes somewhere to be picked up on server launch. Probably just for production environments.EDIT: See HtmlWebpackPlugin