Files
Resistere_in_Silenzio/my-app/next.config.ts
Luigi_Nitro_V_15 a42f40dfc3
All checks were successful
Deploy / trigger (push) Successful in 2s
Fix paths with basePath and assetPrefix
2026-04-29 21:37:24 +02:00

16 lines
397 B
TypeScript

import type { NextConfig } from "next";
const nextConfig: NextConfig = {
output: 'export',
trailingSlash: true,
// OBBLIGATORIO: Questo dice a Next di cercare i font dentro /my-app/out/
basePath: '/my-app/out',
// Opzionale ma consigliato se basePath non bastasse per i file statici
assetPrefix: '/my-app/out',
images: {
unoptimized: true,
},
};
export default nextConfig;