/* eslint-disable @typescript-eslint/no-unsafe-return */
/* eslint-disable @typescript-eslint/no-var-requires */
/* eslint-disable @typescript-eslint/require-await */

const headers = require('./next/headers')

const config = {
    eslint: {
        ignoreDuringBuilds: true,
    },
    experimental: {
        styledComponents: true,
    },
    exportPathMap: async (defaultPaths) => defaultPaths,
    headers,
    poweredByHeader: false,
    reactStrictMode: true,
    rewrites: async () => [
        {
            source: '/favicon',
            destination: '/favicon.ico',
        },
    ],
    swcMinify: true,
    typescript: {
        ignoreBuildErrors: true,
    },
}

module.exports = config

/* eslint-disable @typescript-eslint/no-unsafe-return */
/* eslint-disable @typescript-eslint/no-var-requires */
/* eslint-disable @typescript-eslint/require-await */

const headers = require('./next/headers')

const config = {
    eslint: {
        ignoreDuringBuilds: true,
    },
    experimental: {
        styledComponents: true,
    },
    exportPathMap: async (defaultPaths) => defaultPaths,
    headers,
    poweredByHeader: false,
    reactStrictMode: true,
    swcMinify: true,
    typescript: {
        ignoreBuildErrors: true,
    },
}

module.exports = config

Revert "test: add rewrite to static file"
Revert "test: add rewrite to static file"

This reverts commit 28800a47f4e954ef35e4e336fb2f682e19ef9899.
