diff options
author | David Mehren | 2020-12-21 12:31:34 +0100 |
---|---|---|
committer | David Mehren | 2020-12-21 12:31:34 +0100 |
commit | 9f624d150c6f5e05185ff93f4eed12d570e4ccc4 (patch) | |
tree | 60b4a2f66c1603c1b9684f1662280465d9e77e41 /lib/web/note/slide.js | |
parent | 4c1419a54ed9aa9627c6481f035466b5ab8f5220 (diff) |
Generate CSS filenames with contenthash
Previously, .css files always had the same name, which can lead to caching problems.
In our case, the new CSS for the HedgeDoc logo was not loaded when Chrome had the 1.6.0 CSS in the cache, leading the HedgeDoc logo filling the whole screen.
This commit adds the contenthash to the .css files generated by webpack, which ensures that changed files are always loaded.
References:
https://github.com/webpack-contrib/mini-css-extract-plugin#filename
https://webpack.js.org/configuration/output/#outputfilename
Signed-off-by: David Mehren <git@herrmehren.de>
Diffstat (limited to 'lib/web/note/slide.js')
0 files changed, 0 insertions, 0 deletions