This turned out to be simple aspect of interoperability between CommonJS & ESM - because the plugin is by default in CommonJS, we renamed the clientlib.config.js to clientlib.config.cjs and specifically mentioned the config file name in the clientlib command i.e. "scripts" {
"clientlib:publish": "...