Add Next.js configuration

This commit is contained in:
Bram Suurd
2024-11-01 19:37:29 +01:00
parent 74436d8171
commit 68f3cebb0c

21
next.config.mjs Normal file
View File

@@ -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;