Initial TicketTracker release

This commit is contained in:
2026-08-05 10:55:30 +02:00
commit 125b1d22ff
128 changed files with 26208 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
import path from "node:path";
import { fileURLToPath } from "node:url";
const workspaceRoot = path.resolve(path.dirname(fileURLToPath(import.meta.url)), "..");
/** @type {import('next').NextConfig} */
const nextConfig = {
reactCompiler: true,
turbopack: {
root: workspaceRoot,
},
compiler: {
removeConsole: process.env.NODE_ENV === "production",
},
async rewrites() {
return [
{
source: "/api/:path*",
destination: `${process.env.API_PROXY_TARGET ?? "http://127.0.0.1:3001"}/api/:path*`,
},
];
},
};
export default nextConfig;