serverless-esbuild
serverless-esbuild copied to clipboard
Bun support
Is your feature request related to a problem? Please describe.
Running serverless deploy with bun defaults to npm being run in https://github.com/floydspace/serverless-esbuild/blob/5bfaee0/src/packagers/npm.ts#L272-L278.
Describe the solution you'd like
Add support for bun install.
Additional context
For private repositories both npm and Bun configs are required because npm is used.
Based on https://github.com/evanw/esbuild/pull/3398#issuecomment-1733657157, it's not clear if this should be addressed in Bun or not.