Skip to content

Commit

Permalink
feat: outputFileTracing
Browse files Browse the repository at this point in the history
  • Loading branch information
felixerdy committed May 3, 2024
1 parent 74b3a59 commit 258b2ba
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import path from "path";

Check failure on line 1 in next.config.mjs

View workflow job for this annotation

GitHub Actions / quality

A Node.js builtin module should be imported with the node: protocol.

Check failure on line 1 in next.config.mjs

View workflow job for this annotation

GitHub Actions / quality

A Node.js builtin module should be imported with the node: protocol.
import NextMdx from "@next/mdx";

const withMDX = NextMdx({
Expand All @@ -19,6 +20,9 @@ const nextConfig = {
},
],
},
experimental: {
outputFileTracingRoot: path.join(process.cwd(), "src", "content"),
},
};

export default withMDX(nextConfig);

0 comments on commit 258b2ba

Please sign in to comment.