From 312de2ce1f7dc1f01e25f4db15be117b3b278e6a Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Tue, 31 Oct 2023 14:49:40 +0100 Subject: [PATCH] Fix esbuild for account-portal --- scripts/build.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build.js b/scripts/build.js index 99ce945eb8..faf61e26c0 100755 --- a/scripts/build.js +++ b/scripts/build.js @@ -23,7 +23,7 @@ function runBuild(entry, outfile) { ) if ( - !fs.existsSync("../pro/src") && + !fs.existsSync(path.join(__dirname, "../packages/pro/src")) && tsconfigPathPluginContent.compilerOptions?.paths ) { // If we don't have pro, we cannot bundle backend-core.