mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
Merge pull request #2961 from vector-im/rav/build_hash_in_filename
Put parent build hash in webpack output filenames
This commit is contained in:
commit
86b66120d0
@ -40,7 +40,8 @@ module.exports = {
|
||||
},
|
||||
output: {
|
||||
path: path.join(__dirname, "webapp"),
|
||||
filename: "[name].[chunkhash].js",
|
||||
filename: "[hash]/[name].js",
|
||||
chunkFilename: "[hash]/[name].js",
|
||||
devtoolModuleFilenameTemplate: function(info) {
|
||||
// Reading input source maps gives only relative paths here for
|
||||
// everything. Until I figure out how to fix this, this is a
|
||||
@ -79,7 +80,7 @@ module.exports = {
|
||||
}),
|
||||
|
||||
new ExtractTextPlugin(
|
||||
"[name].[contenthash].css",
|
||||
"[hash]/[name].css",
|
||||
{
|
||||
allChunks: true
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user