By default path labels replace only <hash>, but you can customize it and add more labels by defining pathLabels in your config.
{
"pathLabels": {
"hash": "[a-zA-Z0-9]+"
}
}{
"baseDir": "./build",
"pathLabels": {
"chunkId": "[\\w-]+"
},
"files": [
{
"path": "*.<hash>.chunk.<chunkId>.js"
},
{
"path": "*.<hash>.js"
}
]
}{
"baseDir": "./build",
"pathLabels": {
"hash": "[a-z]+",
"chunkId": "[\\w-]+"
},
"files": [
{
"path": "*.<hash>.chunk.<chunkId>.js"
},
{
"path": "*.<hash>.js"
}
]
}