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(