Funpack is a bundler specifically for better writing cloud functions(aka, a project that has multi entrypoints).
Hello, have you tried just using https://www.npmjs.com/package/funpack ?
This issue appears to be discussing a feature request or bug report related to the repository. Based on the content, it seems to be still under discussion. The issue was opened by doteric and has received 3 comments.