ui: add hash to css filenames

This commit is contained in:
nick-delirium 2025-03-12 16:46:02 +01:00
parent 5af63eb9f1
commit 404ffd5b2d
No known key found for this signature in database
GPG key ID: 93ABD695DF5FDBA0

View file

@ -141,7 +141,11 @@ const config: Configuration = {
{ from: "./app/assets", to: "assets" },
],
}),
new MiniCssExtractPlugin({ ignoreOrder: true }),
new MiniCssExtractPlugin({
filename: '[name]-[contenthash:7].css',
chunkFilename: '[id]-[contenthash:7].css',
ignoreOrder: true
}),
],
devtool: isDevelopment ? "inline-source-map" : false,
performance: {