17 lines
412 B
TypeScript
17 lines
412 B
TypeScript
import type { NextConfig } from "next";
|
|
import createNextIntlPlugin from "next-intl/plugin";
|
|
|
|
const withNextIntl = createNextIntlPlugin();
|
|
|
|
const nextConfig: NextConfig = {
|
|
images: {
|
|
remotePatterns: [],
|
|
unoptimized: process.env.NODE_ENV === "development",
|
|
},
|
|
experimental: {
|
|
optimizePackageImports: ["@react-three/fiber", "@react-three/drei"],
|
|
},
|
|
};
|
|
|
|
export default withNextIntl(nextConfig);
|