/** @type {import('next').NextConfig} */
const nextConfig = {
  env: {
    APPVERSION: '1.1.4'
  },
  experimental: {
    serverComponentsExternalPackages: ['mysql2']
  },
  eslint: {
    ignoreDuringBuilds: true,
  },
  typescript: {
    ignoreBuildErrors: true,
  },
  images: {
    unoptimized: true,
  },
  swcMinify: true,
  poweredByHeader: false,
  async rewrites() {
    return []
  },
}

export default nextConfig
