Merge pull request #632 from hedgedoc/webpack-css-contenthash

Generate CSS filenames with contenthash
This commit is contained in:
David Mehren 2020-12-21 21:16:48 +01:00 committed by GitHub
commit 6dde20942a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -177,7 +177,10 @@ module.exports = {
} }
] ]
}), }),
new MiniCssExtractPlugin() new MiniCssExtractPlugin({
filename: '[name].[contenthash].css',
chunkFilename: '[id].[contenthash].css'
})
], ],
entry: { entry: {