diff --git a/lerna.json b/lerna.json index 1514e668d2..7f64cf74d1 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,5 @@ { - "version": "2.9.24-alpha.4", + "version": "2.9.25", "npmClient": "yarn", "packages": [ "packages/*" diff --git a/scripts/build.js b/scripts/build.js index 2ca41b5f7d..e5c2c8ba34 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/*" ] }