2023-05-25 06:30:36 +00:00
|
|
|
/** @type {import('next').NextConfig} */
|
|
|
|
|
const nextConfig = {
|
2024-05-14 09:40:58 +02:00
|
|
|
transpilePackages: [
|
2024-06-05 08:52:41 +02:00
|
|
|
"@link-stack/leafcutter-ui",
|
|
|
|
|
"@link-stack/opensearch-common",
|
|
|
|
|
"@link-stack/ui",
|
|
|
|
|
"@link-stack/bridge-common",
|
|
|
|
|
"@link-stack/bridge-ui",
|
2024-05-14 09:40:58 +02:00
|
|
|
],
|
2023-05-25 12:37:14 +00:00
|
|
|
publicRuntimeConfig: {
|
2023-06-20 07:59:13 +00:00
|
|
|
linkURL: process.env.LINK_URL ?? "http://localhost:3000",
|
2024-04-21 09:44:30 +02:00
|
|
|
bridgeURL: process.env.BRIDGE_URL ?? "http://localhost:8002",
|
2023-07-21 12:26:02 +00:00
|
|
|
labelStudioURL: process.env.LABEL_STUDIO_URL ?? "http://localhost:8006",
|
2023-06-20 07:59:13 +00:00
|
|
|
muiLicenseKey: process.env.MUI_LICENSE_KEY ?? "",
|
2023-05-25 12:37:14 +00:00
|
|
|
},
|
2022-12-02 10:55:56 +00:00
|
|
|
};
|
2023-05-25 06:30:36 +00:00
|
|
|
|
2024-05-14 09:40:58 +02:00
|
|
|
export default nextConfig;
|