2
2
mirror of https://github.com/Thream/website.git synced 2024-07-21 09:28:32 +02:00
website/next.config.js
Théo LUDWIG b1ef2cc41c
build: ignore ESLint errors for Production build
It improves performance when extra checking is not necessary.
2023-09-18 22:14:33 +02:00

20 lines
448 B
JavaScript

const nextTranslate = require('next-translate-plugin')
/** @type {import("next").NextConfig} */
const nextConfig = {
reactStrictMode: false,
output: 'standalone',
eslint: {
ignoreDuringBuilds: true
},
images: {
domains: [
'api.thream.theoludwig.fr',
'file-uploads-api.thream.theoludwig.fr',
...(process.env.NODE_ENV !== 'production' ? ['127.0.0.1'] : [])
]
}
}
module.exports = nextTranslate(nextConfig)