mirror of
https://github.com/zenlm/papers.git
synced 2026-07-27 03:34:41 +00:00
15 lines
398 B
JavaScript
15 lines
398 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
output: 'export',
|
|
images: {
|
|
unoptimized: true,
|
|
},
|
|
trailingSlash: true,
|
|
// Base path will be set via environment variable for different deployments
|
|
basePath: process.env.NEXT_PUBLIC_BASE_PATH || '',
|
|
// Asset prefix for GitHub Pages
|
|
assetPrefix: process.env.NEXT_PUBLIC_BASE_PATH || '',
|
|
}
|
|
|
|
module.exports = nextConfig
|