/** @type {import('next').NextConfig} */
const nextConfig = {
  reactStrictMode: false,
  compilerOptions: {
    types: ['@types/styled-components'],
    styledComponents: true,
  },
  styledComponents: {
    fileName: false,
    ssr: true,
  },
  redirects() {
    return [
      {
        source: '/home',
        destination: '/',
        permanent: true,
      },
    ];
  },
};

module.exports = nextConfig;
