Skip to content

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

setup: only disable esbuild rebuild on mobile

Abdullah Attab9e7cbd60880
diff --git a/scripts/bootstrap.mjs b/scripts/bootstrap.mjs
index fde6c9ce7..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",
- // temporary
- "esbuild"
+ // not needed on mobile
+ ...(args.scope === "mobile" ? ["esbuild"] : [])
];
if (args.scope && !scopes[args.scope])