/** @type {import('next').NextConfig} */ const nextConfig = { // EN: Enable React strict mode for development warnings // VI: Bật React strict mode để hiển thị warnings trong development reactStrictMode: true, // EN: Output standalone build for container deployment // VI: Output build standalone để deploy trong container output: 'standalone', // EN: Environment variables exposed to the browser // VI: Biến môi trường được expose cho browser env: { // EN: Public API URL for client-side API calls // VI: URL API public để gọi API từ client-side NEXT_PUBLIC_API_URL: process.env.NEXT_PUBLIC_API_URL || 'http://localhost/api/v1', }, }; module.exports = nextConfig;