Spaces:
Sleeping
Sleeping
File size: 623 Bytes
05c5ed5 4621b01 05c5ed5 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | import type { NextConfig } from "next";
import createNextIntlPlugin from "next-intl/plugin";
const BUILD_OUTPUT = process.env.NEXT_STANDALONE_OUTPUT
? "standalone"
: undefined;
export default () => {
const nextConfig: NextConfig = {
output: BUILD_OUTPUT,
cleanDistDir: true,
devIndicators: {
position: "bottom-right",
},
env: {
NO_HTTPS: process.env.NO_HTTPS,
},
experimental: {
taint: true,
authInterrupts: true,
cpus: 2,
memoryBasedWorkersCount: true,
},
};
const withNextIntl = createNextIntlPlugin();
return withNextIntl(nextConfig);
};
|