mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Merge pull request #6282 from viown/add-hash-to-filenames
Add content hash to CSS files
This commit is contained in:
commit
d365dd1b98
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue