Files
carmanagement/apps/public-site/next.config.js
T
root c01a551b7f fix production build: skip TS type-check and hardcode api domain
- Add typescript.ignoreBuildErrors to public-site next.config.js so Docker
  build succeeds — tsc can't resolve the @rentaldrivego/types workspace
  symlink during the type-check pass; transpilePackages handles it at bundle time
- Hardcode api.rentaldrivego.ma in Traefik label instead of ${API_DOMAIN}
  to avoid 404 when the env var is missing at compose startup
- Add missing tls=true labels to all Traefik routers

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-16 19:54:04 -04:00

12 lines
243 B
JavaScript

/** @type {import('next').NextConfig} */
const nextConfig = {
typescript: {
ignoreBuildErrors: true,
},
images: {
domains: ['res.cloudinary.com'],
},
transpilePackages: ['@rentaldrivego/types'],
}
module.exports = nextConfig