From 6523328c9628084e85ccdb6f6376ffe78fdfec1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Fri, 12 Jun 2020 21:47:19 +0200 Subject: [PATCH] Add contenthash to chunk filename MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- webpack.common.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webpack.common.js b/webpack.common.js index d5f36ed1f..ac9189533 100644 --- a/webpack.common.js +++ b/webpack.common.js @@ -10,7 +10,8 @@ module.exports = { filename: '[name].js', path: __dirname + '/js', publicPath: '/js/', - jsonpFunction: 'webpackJsonpOCADeck' + jsonpFunction: 'webpackJsonpOCADeck', + chunkFilename: '[name].js?v=[contenthash]', }, module: { rules: [