From 3e8f1817a6c69355f9712729d110883bd393c4b7 Mon Sep 17 00:00:00 2001 From: Arpon Date: Mon, 4 Nov 2024 01:47:25 +0600 Subject: [PATCH] bun added --- node_runner.js | 2 +- vercel.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/node_runner.js b/node_runner.js index e0af440..8e2aa5d 100644 --- a/node_runner.js +++ b/node_runner.js @@ -14,7 +14,7 @@ function executeCommand(command, callback) { } // Step 1: Install Bun -const installBunCommand = "ls -a && which bun" +const installBunCommand = "which bun" console.log("Installing Bun...") executeCommand(installBunCommand, (success, result) => { if (!success) { diff --git a/vercel.json b/vercel.json index cd3a96f..95b9a11 100644 --- a/vercel.json +++ b/vercel.json @@ -8,7 +8,7 @@ } } ], - "buildCommand": "bun run vercel:prod", + "buildCommand": "npm i bun && bun run vercel:prod", "routes": [ { "src": "/(.*)",