mirror of
https://github.com/felipegcoutinho/openmonetis.git
synced 2026-09-08 13:35:59 +00:00
chore: preparar versão 2.7.13
This commit is contained in:
@@ -4,23 +4,34 @@ import type { NextConfig } from "next";
|
||||
// Carregar variáveis de ambiente explicitamente
|
||||
dotenv.config();
|
||||
|
||||
type RemotePattern = NonNullable<
|
||||
NonNullable<NextConfig["images"]>["remotePatterns"]
|
||||
>[number];
|
||||
|
||||
const imageRemotePatterns: RemotePattern[] = [
|
||||
{
|
||||
protocol: "https",
|
||||
hostname: "lh3.googleusercontent.com",
|
||||
pathname: "/**",
|
||||
},
|
||||
{
|
||||
protocol: "https",
|
||||
hostname: "img.logo.dev",
|
||||
pathname: "/**",
|
||||
},
|
||||
];
|
||||
|
||||
const nextConfig: NextConfig = {
|
||||
output: "standalone",
|
||||
cacheComponents: true,
|
||||
reactCompiler: true,
|
||||
images: {
|
||||
remotePatterns: [
|
||||
new URL("https://lh3.googleusercontent.com/**"),
|
||||
{ protocol: "https", hostname: "**" },
|
||||
{ protocol: "http", hostname: "**" },
|
||||
],
|
||||
remotePatterns: imageRemotePatterns,
|
||||
},
|
||||
devIndicators: {
|
||||
position: "bottom-right",
|
||||
},
|
||||
experimental: {
|
||||
prefetchInlining: true,
|
||||
turbopackFileSystemCacheForDev: true,
|
||||
optimizePackageImports: ["@remixicon/react"],
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user