mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-22 12:37:58 +02:00
refactor(mdx-loader): use vfile.path to access Markdown file path (#6443)
This commit is contained in:
parent
e40cafccd5
commit
3d7ba337c2
4 changed files with 48 additions and 22 deletions
|
@ -128,7 +128,6 @@ export default async function mdxLoader(
|
|||
transformImage,
|
||||
{
|
||||
staticDirs: reqOptions.staticDirs,
|
||||
filePath,
|
||||
siteDir: reqOptions.siteDir,
|
||||
},
|
||||
],
|
||||
|
@ -136,7 +135,6 @@ export default async function mdxLoader(
|
|||
transformLinks,
|
||||
{
|
||||
staticDirs: reqOptions.staticDirs,
|
||||
filePath,
|
||||
siteDir: reqOptions.siteDir,
|
||||
},
|
||||
],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue