42 lines
669 B
JavaScript
42 lines
669 B
JavaScript
/**
|
|
* @type {import('next').NextConfig}
|
|
*/
|
|
|
|
const nextConfig = {
|
|
i18n: {
|
|
defaultLocale: 'en',
|
|
locales: ['en', 'ru', 'fr', 'es', 'de'],
|
|
},
|
|
trailingSlash: true,
|
|
distDir: 'build',
|
|
devIndicators: {
|
|
position: 'bottom-left',
|
|
},
|
|
typescript: {
|
|
ignoreBuildErrors: true,
|
|
},
|
|
eslint: {
|
|
ignoreDuringBuilds: true,
|
|
},
|
|
images: {
|
|
unoptimized: true,
|
|
remotePatterns: [
|
|
{
|
|
protocol: 'https',
|
|
hostname: '**',
|
|
},
|
|
],
|
|
},
|
|
async rewrites() {
|
|
return [
|
|
{
|
|
source: '/startup/:id',
|
|
destination: '/web_pages/startup-details/?id=:id',
|
|
},
|
|
]
|
|
},
|
|
|
|
}
|
|
|
|
export default nextConfig
|