diff --git a/app/e2e/global-setup.ts b/app/e2e/global-setup.ts index c1bc402c..9635e88b 100644 --- a/app/e2e/global-setup.ts +++ b/app/e2e/global-setup.ts @@ -288,7 +288,7 @@ export default async function globalSetup() { } else { console.log("⏳ Building Next.js (production)..."); } - execSync("npx next build", { + execSync("npx next build --webpack", { cwd: appDir, stdio: "inherit", env: serverEnv, diff --git a/app/src/plugins/index.ts b/app/src/plugins/index.ts index f1a11967..1616c3aa 100644 --- a/app/src/plugins/index.ts +++ b/app/src/plugins/index.ts @@ -124,7 +124,7 @@ for (const t of CHART_TYPES) { // 2. Validate compatibleWith references actual connector types. // Uses the canonical CONNECTOR_TYPES from the connection package // so new connectors are automatically recognized. -import { CONNECTOR_TYPES as KNOWN_CONNECTOR_LIST } from "@neoboard/connection"; +import { CONNECTOR_TYPES as KNOWN_CONNECTOR_LIST } from "@neoboard/connection/connector-types"; const KNOWN_CONNECTORS = new Set(KNOWN_CONNECTOR_LIST); for (const type of pluginRegistry.getTypes()) { const plugin = pluginRegistry.get(type);