import type { NextConfig } from "next";

const nextConfig: NextConfig = {
  /* config options here */
  serverExternalPackages: [
    "@duckdb/node-api",
    "duckdb",
    "duckdb-async",
    // "@duckdb/node-bindings-darwin-arm64", // Include platform-specific bindings
    // "@duckdb/node-bindings-linux-x64" // Include platform-specific bindings
  ],
  reactCompiler: true,
  reactStrictMode: true,
};

export default nextConfig;
