add paths to the optional chaining
This commit is contained in:
parent
9b814e8231
commit
b80c7d7fab
|
@ -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/*"
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue