We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5845b82 commit 57c170fCopy full SHA for 57c170f
next.config.mjs
@@ -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