diff --git a/packages/server/src/integrations/index.ts b/packages/server/src/integrations/index.ts index a542ff8455..99cd391278 100644 --- a/packages/server/src/integrations/index.ts +++ b/packages/server/src/integrations/index.ts @@ -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 }