24 lines
464 B
JavaScript
24 lines
464 B
JavaScript
require('dotenv').config({
|
|
path: './.env.local'
|
|
})
|
|
|
|
const withBundleAnalyzer = require('@next/bundle-analyzer')({
|
|
enabled: process.env.ANALYZE === 'true',
|
|
})
|
|
|
|
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
reactStrictMode: false,
|
|
images: {
|
|
domains: [process.env.NEXT_PUBLIC_S3_HOSTNAME]
|
|
},
|
|
eslint: {
|
|
ignoreDuringBuilds: true
|
|
},
|
|
typescript: {
|
|
ignoreBuildErrors: true
|
|
}
|
|
}
|
|
|
|
module.exports = withBundleAnalyzer(nextConfig)
|