mirror of
https://github.com/theoludwig/theoludwig.git
synced 2024-12-08 00:44:30 +01:00
23 lines
471 B
JavaScript
23 lines
471 B
JavaScript
import createNextIntlPlugin from "next-intl/plugin"
|
|
|
|
const IS_STANDALONE = process.env.IS_STANDALONE === "true"
|
|
|
|
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
output: IS_STANDALONE ? "standalone" : undefined,
|
|
images: {
|
|
unoptimized: true,
|
|
},
|
|
compress: false,
|
|
eslint: {
|
|
ignoreDuringBuilds: true,
|
|
},
|
|
typescript: {
|
|
ignoreBuildErrors: true,
|
|
},
|
|
}
|
|
|
|
const withNextIntl = createNextIntlPlugin()
|
|
|
|
export default withNextIntl(nextConfig)
|