From 84263159cd048440bd093feac3a3a4e0e4d8cfed Mon Sep 17 00:00:00 2001 From: MacRimi <123239993+MacRimi@users.noreply.github.com> Date: Thu, 13 Feb 2025 16:46:10 +0100 Subject: [PATCH] Create next.config.js --- web/next.config.js | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 web/next.config.js diff --git a/web/next.config.js b/web/next.config.js new file mode 100644 index 0000000..f5d4549 --- /dev/null +++ b/web/next.config.js @@ -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