mirror of
https://github.com/BigBodyCobain/Shadowbroker.git
synced 2026-05-10 19:14:54 +02:00
40e89ac30b
Former-commit-id: da14f44e910786e9e21b5968b77e97a94f2876ab
20 lines
602 B
TypeScript
20 lines
602 B
TypeScript
import type { NextConfig } from "next";
|
|
|
|
// /api/* requests are proxied to the backend by the catch-all route handler at
|
|
// src/app/api/[...path]/route.ts, which reads BACKEND_URL at request time.
|
|
// Do NOT add rewrites for /api/* here — next.config is evaluated at build time,
|
|
// so any URL baked in here ignores the runtime BACKEND_URL env var.
|
|
|
|
const nextConfig: NextConfig = {
|
|
transpilePackages: ['react-map-gl', 'mapbox-gl', 'maplibre-gl'],
|
|
output: "standalone",
|
|
typescript: {
|
|
ignoreBuildErrors: true,
|
|
},
|
|
eslint: {
|
|
ignoreDuringBuilds: true,
|
|
},
|
|
};
|
|
|
|
export default nextConfig;
|