1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Backport pull request #6282 from jellyfin-web/release-10.10.z

Add content hash to CSS files

Original-merge: d365dd1b98

Merged-by: thornbill <thornbill@users.noreply.github.com>

Backported-by: Joshua M. Boniface <joshua@boniface.me>
This commit is contained in:
viown 2024-11-03 10:54:36 -05:00 committed by Joshua M. Boniface
parent 4a5c52a92b
commit 8a6491dff5

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;