Lumbridge Bench
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
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;
|
||||
Reference in New Issue
Block a user