fix: ensure output.distPath can be merged correctly
#6369
Merged
output.distPath can be merged correctly
#6369