From 68f3cebb0cdf19edee5b5b15d2d9291f58e6bdff Mon Sep 17 00:00:00 2001 From: Bram Suurd <78373894+BramSuurdje@users.noreply.github.com> Date: Fri, 1 Nov 2024 19:37:29 +0100 Subject: [PATCH] Add Next.js configuration --- next.config.mjs | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 next.config.mjs diff --git a/next.config.mjs b/next.config.mjs new file mode 100644 index 0000000..6078b15 --- /dev/null +++ b/next.config.mjs @@ -0,0 +1,21 @@ +/** @type {import('next').NextConfig} */ +const nextConfig = { + webpack: (config) => { + config.resolve.alias.canvas = false; + + return config; + }, + images: { + remotePatterns: [ + { + protocol: "https", + hostname: "**", + }, + ], + }, + + output: "export", + // basePath: "/proxmox-helper-scripts", +}; + +export default nextConfig;