11diff --git a/node_modules/react-router-mdx/dist/server/index.js b/node_modules/react-router-mdx/dist/server/index.js
2- index 1e56a6c..5f08c1c 100644
2+ index 1e56a6c..b323b05 100644
33--- a/node_modules/react-router-mdx/dist/server/index.js
44+++ b/node_modules/react-router-mdx/dist/server/index.js
5- @@ -59,15 +59,16 @@ import matter from "gray-matter";
5+ @@ -59,15 +59,15 @@ import matter from "gray-matter";
66 import { compile as compileMdx } from "@mdx-js/mdx";
77 import remarkFrontmatter from "remark-frontmatter";
88 var compile = async (content, options) => {
99- const compiled = await compileMdx(content, {
10- + // TODO: open a PR to add in the path!
1110+ const compiled = await compileMdx({ value: content, path: options?.path }, {
1211 ...options ?? {},
1312 outputFormat: "function-body",
@@ -23,11 +22,9 @@ index 1e56a6c..5f08c1c 100644
2322 return attributes;
2423 };
2524
26- @@ -118,13 +119,15 @@ var loadMdx = async (request, options) => {
27- const aliases = getAliases(getOptions());
25+ @@ -119,12 +119,13 @@ var loadMdx = async (request, options) => {
2826 const path = getFilePathBasedOnUrl(request.url, paths, aliases);
2927 const content = await getFileContent(path);
30- + console.log({ path })
3128 const [mdxContent, attributes] = await Promise.all([
3229- compile(content, options),
3330+ compile(content, { ...options, path }),
0 commit comments