ProxMenux/web/next.config.js

22 lines
413 B
JavaScript
Raw Normal View History

2025-02-13 16:46:10 +01:00
/** @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