setup: only disable esbuild rebuild on mobile

This commit is contained in:
Abdullah Atta
2024-03-06 19:12:38 +05:00
parent 0cf0b00c58
commit b9e7cbd608

View File

@@ -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])