link-stack/apps/link/next.config.js
2024-05-14 09:40:58 +02:00

21 lines
569 B
JavaScript

/** @type {import('next').NextConfig} */
const nextConfig = {
experimental: {
missingSuspenseWithCSRBailout: false,
},
transpilePackages: [
"leafcutter-ui",
"opensearch-common",
"ui",
"bridge-common",
"bridge-ui",
],
publicRuntimeConfig: {
linkURL: process.env.LINK_URL ?? "http://localhost:3000",
bridgeURL: process.env.BRIDGE_URL ?? "http://localhost:8002",
labelStudioURL: process.env.LABEL_STUDIO_URL ?? "http://localhost:8006",
muiLicenseKey: process.env.MUI_LICENSE_KEY ?? "",
},
};
export default nextConfig;