16 lines
554 B
JavaScript
16 lines
554 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
reactStrictMode: true,
|
|
experimental: {
|
|
missingSuspenseWithCSRBailout: false,
|
|
},
|
|
transpilePackages: ["leafcutter-ui", "bridge-ui", "opensearch-common", "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 ?? "",
|
|
},
|
|
};
|
|
|
|
module.exports = nextConfig;
|