21 lines
629 B
JavaScript
21 lines
629 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
experimental: {
|
|
missingSuspenseWithCSRBailout: false,
|
|
},
|
|
transpilePackages: [
|
|
"@link-stack/leafcutter-ui",
|
|
"@link-stack/opensearch-common",
|
|
"@link-stack/ui",
|
|
"@link-stack/bridge-common",
|
|
"@link-stack/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;
|