ManagerBuilder: Fix "type": "commonjs"
compatibility
#24534
Merged
"type": "commonjs"
compatibility
#24534