mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-06-28 04:06:54 +00:00
26 lines
619 B
JavaScript
26 lines
619 B
JavaScript
import { fileURLToPath } from 'url'
|
|
import { dirname, join } from 'path'
|
|
|
|
const __filename = fileURLToPath(import.meta.url)
|
|
const __dirname = dirname(__filename)
|
|
|
|
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
output: "export",
|
|
images: {
|
|
unoptimized: true,
|
|
},
|
|
assetPrefix: "/ProxMenux/",
|
|
basePath: "/ProxMenux",
|
|
staticPageGenerationTimeout: 180,
|
|
webpack: (config, { isServer }) => {
|
|
config.resolve.alias["@guides"] = join(__dirname, "..", "guides")
|
|
config.resolve.alias["@changelog"] = join(__dirname, "..", "CHANGELOG.md")
|
|
return config
|
|
},
|
|
}
|
|
|
|
export default nextConfig
|
|
|
|
|