Merge pull request #2961 from vector-im/rav/build_hash_in_filename
Put parent build hash in webpack output filenamespull/2965/head
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