From e6f59a761b1a05896e8bca0b8bb1b16e6a2c5a15 Mon Sep 17 00:00:00 2001 From: Bill Thornton Date: Tue, 2 Mar 2021 11:33:50 -0500 Subject: [PATCH] Merge pull request #2473 from thornbill/cache-busting Add hash to bundle urls for cache busting (cherry picked from commit 68bf09de1611138b8dc5cec63f02242ecd80698c) Signed-off-by: Joshua M. Boniface --- webpack.common.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webpack.common.js b/webpack.common.js index 09219a4757..1bcb1f6a74 100644 --- a/webpack.common.js +++ b/webpack.common.js @@ -77,8 +77,8 @@ module.exports = { }) ], output: { - filename: '[name].bundle.js', - path: path.resolve(__dirname, 'dist') + filename: '[name].[contenthash].bundle.js', + path: path.resolve(__dirname, 'dist'), }, module: { rules: [