Add content hash to CSS files

This commit is contained in:
viown
2024-11-01 03:55:09 +03:00
parent 3311a1407f
commit 89b5e44870

View File

@@ -338,7 +338,9 @@ const config = {
};
if (!DEV_MODE) {
config.plugins.push(new MiniCssExtractPlugin());
config.plugins.push(new MiniCssExtractPlugin({
filename: '[name].[contenthash].css'
}));
}
module.exports = config;