/** @type {import('next').NextConfig} */ const nextConfig = { distDir: process.env.NODE_ENV === 'development' ? '.next-dev' : '.next', output: 'standalone', eslint: { ignoreDuringBuilds: true, }, images: { unoptimized: true }, webpack: (config) => { config.resolve = config.resolve || {}; config.resolve.alias = { ...(config.resolve.alias || {}), phaser3spectorjs: false, }; return config; }, }; module.exports = nextConfig;