diff options
author | David Mehren | 2020-12-21 21:16:48 +0100 |
---|---|---|
committer | GitHub | 2020-12-21 21:16:48 +0100 |
commit | 6dde20942aa204cea69e75df14ca2933fe1e915d (patch) | |
tree | 7b2801f679f22d8f2e2cd245b9da2b97ea69c457 | |
parent | 96142bb21de80d313552471ee3b93e4c5254c66c (diff) | |
parent | 9f624d150c6f5e05185ff93f4eed12d570e4ccc4 (diff) |
Merge pull request #632 from hedgedoc/webpack-css-contenthash
Generate CSS filenames with contenthash
-rw-r--r-- | webpack.common.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/webpack.common.js b/webpack.common.js index 9d1a9005..f84a6a13 100644 --- a/webpack.common.js +++ b/webpack.common.js @@ -177,7 +177,10 @@ module.exports = { } ] }), - new MiniCssExtractPlugin() + new MiniCssExtractPlugin({ + filename: '[name].[contenthash].css', + chunkFilename: '[id].[contenthash].css' + }) ], entry: { |