2024-07-30 23:59:06 +02:00
|
|
|
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,
|
2024-10-12 23:51:58 +02:00
|
|
|
images: {
|
|
|
|
unoptimized: true,
|
|
|
|
},
|
|
|
|
compress: false,
|
2024-07-30 23:59:06 +02:00
|
|
|
|
|
|
|
// https://github.com/hashicorp/next-mdx-remote/issues/436#issuecomment-2066971842
|
|
|
|
transpilePackages: ["next-mdx-remote", "shiki"],
|
|
|
|
|
|
|
|
eslint: {
|
|
|
|
ignoreDuringBuilds: true,
|
|
|
|
},
|
|
|
|
typescript: {
|
|
|
|
ignoreBuildErrors: true,
|
|
|
|
},
|
|
|
|
}
|
|
|
|
|
|
|
|
const withNextIntl = createNextIntlPlugin()
|
|
|
|
|
|
|
|
export default withNextIntl(nextConfig)
|