1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
| /** @type {import('next').NextConfig} */ const nextConfig = { reactStrictMode: true, basePath: '', output: 'export',//out // Optional: Change links `/me` -> `/me/` and emit `/me.html` -> `/me/index.html` trailingSlash: true, // Optional: Prevent automatic `/me` -> `/me/`, instead preserve `href` skipTrailingSlashRedirect: true, // Optional: Change the output directory `out` -> `dist` distDir: 'out', images: { unoptimized: true, }, }
module.exports = nextConfig
|