updating build script to get QA core working again

This commit is contained in:
Martin McKeaveney 2023-08-14 17:32:03 +01:00
parent ad98588f30
commit 9b814e8231
1 changed files with 2 additions and 2 deletions

View File

@ -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/*"
]
}