Create next.config.js

This commit is contained in:
MacRimi 2025-02-13 16:46:10 +01:00 committed by GitHub
parent 2e88bae448
commit 84263159cd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

21
web/next.config.js Normal file
View File

@ -0,0 +1,21 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
output: "export",
images: {
unoptimized: true,
},
assetPrefix: "/ProxMenux/",
basePath: "/ProxMenux",
distDir: "out",
webpack: (config, { isServer }) => {
if (!isServer) {
config.resolve.fallback = {
...config.resolve.fallback,
fs: false,
}
}
return config
},
}
module.exports = nextConfig