Fix for #8023 - moving Oracle integration to ESM import rather than CJS.
This commit is contained in:
parent
56559510fd
commit
b059d95e02
|
@ -13,6 +13,7 @@ import googlesheets from "./googlesheets"
|
|||
import firebase from "./firebase"
|
||||
import redis from "./redis"
|
||||
import snowflake from "./snowflake"
|
||||
import oracle from "./oracle"
|
||||
import { getPlugins } from "../api/controllers/plugin"
|
||||
import { SourceName, Integration, PluginType } from "@budibase/types"
|
||||
import { getDatasourcePlugin } from "../utilities/fileSystem"
|
||||
|
@ -57,7 +58,6 @@ const INTEGRATIONS: { [key: string]: any } = {
|
|||
|
||||
// optionally add oracle integration if the oracle binary can be installed
|
||||
if (process.arch && !process.arch.startsWith("arm")) {
|
||||
const oracle = require("./oracle")
|
||||
DEFINITIONS[SourceName.ORACLE] = oracle.schema
|
||||
INTEGRATIONS[SourceName.ORACLE] = oracle.integration
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue