Files
bench/site/next.config.mjs
Karti Tripathi 006feee0f7
CI / verify (push) Successful in 24s
CI / deploy (push) Failing after 1m14s
Lumbridge Bench
2026-08-04 00:44:07 -07:00

18 lines
557 B
JavaScript

import path from "node:path";
import { fileURLToPath } from "node:url";
const siteDir = path.dirname(fileURLToPath(import.meta.url));
/** @type {import('next').NextConfig} */
const nextConfig = {
outputFileTracingRoot: path.join(siteDir, ".."),
outputFileTracingIncludes: {
// Score cards are read from the repo's results/ directory at build time.
// There is no database behind the leaderboard: the git history IS the
// record, so the site is a view over committed JSON.
"/**": ["../results/**"],
},
};
export default nextConfig;