Cache busting for CSS files

This commit is contained in:
Bogdan 2023-07-20 20:05:05 +03:00 committed by Mark McDowall
parent dee8820b1f
commit 38f263931f
1 changed files with 2 additions and 1 deletions

View File

@ -91,7 +91,8 @@ module.exports = (env) => {
}), }),
new MiniCssExtractPlugin({ new MiniCssExtractPlugin({
filename: 'Content/styles.css' filename: 'Content/styles.css',
chunkFilename: 'Content/[id]-[chunkhash].css'
}), }),
new HtmlWebpackPlugin({ new HtmlWebpackPlugin({