mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-12-15 16:46:24 +00:00
Update next.config.mjs
This commit is contained in:
@@ -4,9 +4,16 @@ import { dirname, join } from 'path'
|
||||
const __filename = fileURLToPath(import.meta.url)
|
||||
const __dirname = dirname(__filename)
|
||||
|
||||
|
||||
/** @type {import('next').NextConfig} */
|
||||
const nextConfig = {
|
||||
output: "export",
|
||||
eslint: {
|
||||
ignoreDuringBuilds: true,
|
||||
},
|
||||
typescript: {
|
||||
ignoreBuildErrors: true,
|
||||
},
|
||||
images: {
|
||||
unoptimized: true,
|
||||
remotePatterns: [
|
||||
@@ -17,8 +24,6 @@ const nextConfig = {
|
||||
},
|
||||
],
|
||||
},
|
||||
assetPrefix: "/ProxMenux/",
|
||||
basePath: "/ProxMenux",
|
||||
staticPageGenerationTimeout: 180,
|
||||
webpack: (config, { isServer }) => {
|
||||
config.resolve.alias["@guides"] = join(__dirname, "..", "guides")
|
||||
|
||||
Reference in New Issue
Block a user