Using Bun with the Build Pipeline
Alternatively to NPM, you can install and use Bun with the DeployHQ Build Pipeline for generating your assets. The following commands will allow you to install and use the Bun executable:
curl -fsSL https://bun.sh/install | bash
export PATH="~/.bun/bin/:$PATH"
bun install && bun run build
Assuming your actual build command is named build
. Otherwise, if it's defined as something else, just change the last parameter to match.
What's bun?
Bun is a JavaScript runtime, package manager, test runner and bundler built from scratch using the Zig programming language. It was designed by Jarred Sumner as a drop-in replacement for Node. js.
Happy deploying!