Skip to content

Commit 57c170f

Browse files
committed
1 parent 5845b82 commit 57c170f

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

next.config.mjs

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
// @ts-check
2+
import path from "node:path";
3+
4+
/**
5+
* @type {import('next').NextConfig}
6+
*/
7+
const nextConfig = {
8+
// In our arcjet/examples monorepo Next.js warns about the root
9+
// `package-lock.json`. Here we tell Next.js to ignore it and instead use
10+
// the adjacent `package-lock.json` file for tracing instead.
11+
// See: https://nextjs.org/docs/app/api-reference/config/next-config-js/output#caveats
12+
outputFileTracingRoot: path.join(import.meta.dirname, "."),
13+
};
14+
15+
export default nextConfig;

0 commit comments

Comments
 (0)