32 lines
534 B
JavaScript
32 lines
534 B
JavaScript
/**
|
|
* @type {import('next').NextConfig}
|
|
*/
|
|
|
|
const output = process.env.NODE_ENV === 'production' ? 'export' : 'standalone';
|
|
const nextConfig = {
|
|
trailingSlash: true,
|
|
distDir: 'build',
|
|
output,
|
|
basePath: '',
|
|
devIndicators: {
|
|
position: 'bottom-left',
|
|
},
|
|
typescript: {
|
|
ignoreBuildErrors: true,
|
|
},
|
|
eslint: {
|
|
ignoreDuringBuilds: true,
|
|
},
|
|
images: {
|
|
unoptimized: true,
|
|
remotePatterns: [
|
|
{
|
|
protocol: 'https',
|
|
hostname: '**',
|
|
},
|
|
],
|
|
},
|
|
};
|
|
|
|
export default nextConfig;
|