16 lines
397 B
TypeScript
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;
|