From ba80b510b66613fb6f7c8ed70f34214012601708 Mon Sep 17 00:00:00 2001 From: ZauberNerd Date: Thu, 29 Mar 2018 13:53:04 +0200 Subject: [PATCH] refactor(build-config): use contenthash for mini-css-extract-plugin --- packages/build-config/configs/build.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/build-config/configs/build.js b/packages/build-config/configs/build.js index 56eb84659..a4b3e5c70 100644 --- a/packages/build-config/configs/build.js +++ b/packages/build-config/configs/build.js @@ -60,8 +60,7 @@ module.exports = { new StatsWriterPlugin({ fields: null }), new ServiceWorkerPlugin(), new MiniCSSExtractPlugin({ - filename: getAssetPath('[name]-[hash:16].css'), - chunkFilename: getAssetPath('[name]-[hash:16].css'), + filename: getAssetPath('[name]-[contenthash:16].css'), }), new webpack.HashedModuleIdsPlugin(), new webpack.EnvironmentPlugin(