Skip to content

Commit

Permalink
Merge pull request jellyfin#6282 from viown/add-hash-to-filenames
Browse files Browse the repository at this point in the history
Add content hash to CSS files
  • Loading branch information
thornbill authored Nov 1, 2024
2 parents 3311a14 + 89b5e44 commit d365dd1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion webpack.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;

0 comments on commit d365dd1

Please sign in to comment.