Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

setup: revert "disable esbuild `rebuild`"

Abdullah Atta728b63b00152
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])