From 9b814e8231347d6588dbefddf324e68b5298b0ff Mon Sep 17 00:00:00 2001 From: Martin McKeaveney Date: Mon, 14 Aug 2023 17:32:03 +0100 Subject: [PATCH] updating build script to get QA core working again --- scripts/build.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/build.js b/scripts/build.js index b93ae1bbe6..f0a5966535 100755 --- a/scripts/build.js +++ b/scripts/build.js @@ -25,10 +25,10 @@ function runBuild(entry, outfile) { if (!fs.existsSync("../pro/src")) { // If we don't have pro, we cannot bundle backend-core. // Otherwise, the main context will not be shared between libraries - delete tsconfigPathPluginContent.compilerOptions.paths[ + delete tsconfigPathPluginContent?.compilerOptions?.paths[ "@budibase/backend-core" ] - delete tsconfigPathPluginContent.compilerOptions.paths[ + delete tsconfigPathPluginContent?.compilerOptions?.paths[ "@budibase/backend-core/*" ] }