summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--webpack.common.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/webpack.common.js b/webpack.common.js
index 9d1a9005..f84a6a13 100644
--- a/webpack.common.js
+++ b/webpack.common.js
@@ -177,7 +177,10 @@ module.exports = {
}
]
}),
- new MiniCssExtractPlugin()
+ new MiniCssExtractPlugin({
+ filename: '[name].[contenthash].css',
+ chunkFilename: '[id].[contenthash].css'
+ })
],
entry: {