diff --git a/frontend/webpack.config.prod.js b/frontend/webpack.config.prod.js index 1e7f2198f0..c90c4616d8 100644 --- a/frontend/webpack.config.prod.js +++ b/frontend/webpack.config.prod.js @@ -34,8 +34,8 @@ const plugins = [ path: resolve(__dirname, './build/css'), // Public path of the CSS resources. This prefix is removed from the href publicPath: resolve(__dirname, './public/css'), - fonts: true - }) + fonts: true, + }), ]; if (process.env.BUNDLE_ANALYSER === 'true') { @@ -48,6 +48,7 @@ const config = { output: { path: resolve(__dirname, './build'), publicPath: '/', + filename: '[name].[contenthash].js', }, resolve: { extensions: ['.ts', '.tsx', '.js', '.jsx'],