28 lines
578 B
JavaScript
28 lines
578 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
import path from "path";
|
|
import { fileURLToPath } from "url";
|
|
const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
|
|
|
const nextConfig = {
|
|
output: "standalone",
|
|
images: {
|
|
remotePatterns: [
|
|
{
|
|
protocol: "https",
|
|
hostname: "**",
|
|
},
|
|
{
|
|
protocol: "http",
|
|
hostname: "**",
|
|
},
|
|
],
|
|
formats: ["image/avif", "image/webp"],
|
|
dangerouslyAllowLocalIP: process.env.NODE_ENV === "development",
|
|
},
|
|
turbopack: {
|
|
root: __dirname,
|
|
},
|
|
};
|
|
|
|
export default nextConfig;
|