link-stack/apps/link/next.config.js
2024-08-07 15:25:53 +02:00

19 lines
586 B
JavaScript

/** @type {import('next').NextConfig} */
const nextConfig = {
transpilePackages: [
"@link-stack/leafcutter-ui",
"@link-stack/opensearch-common",
"@link-stack/ui",
"@link-stack/bridge-common",
"@link-stack/bridge-ui",
"mui-chips-input"
],
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;