From 728b63b001520c1dbed78b84ebd8e5d48a4fd564 Mon Sep 17 00:00:00 2001 From: Abdullah Atta Date: Fri, 22 Mar 2024 11:13:31 +0500 Subject: [PATCH] setup: revert "disable esbuild `rebuild`" --- scripts/bootstrap.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/bootstrap.mjs b/scripts/bootstrap.mjs index 45a42a2ae..1a4a66a92 100644 --- a/scripts/bootstrap.mjs +++ b/scripts/bootstrap.mjs @@ -45,8 +45,8 @@ const IGNORED_NATIVE_PACKAGES = [ "canvas", // optional dependency only used on Node.js platform "@azure/msal-node-runtime", - // no need to rebuild esbuild (it already has prebuilt binaries) - "esbuild" + // not needed on mobile + ...(args.scope === "mobile" ? ["esbuild"] : []) ]; if (args.scope && !scopes[args.scope])