mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2026-01-15 08:23:36 -03: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:
committed by
Joshua M. Boniface
parent
4a5c52a92b
commit
8a6491dff5
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user