From 519782e0f3cd9222b15955353c6dcfc2cec3b4e8 Mon Sep 17 00:00:00 2001 From: Pig Fang Date: Sat, 11 Aug 2018 09:16:53 +0800 Subject: [PATCH] Use content hash for better cache --- webpack.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webpack.config.js b/webpack.config.js index 9e4a9410..c020a393 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -34,7 +34,7 @@ const config = { filename: '[name].js', chunkFilename: devMode ? '[id].js' - : '[id].[chunkhash:7].js' + : '[id].[contenthash:7].js' }, module: { rules: [