Hi,
Added an entry for pgAgent JS module to imports-loader to fix the issue.
Please find attached patch and let me know for review comments.
Thanks,Surinder