I'm usingContentlayer. My mdx file name contains chinexe
Such like python with 函数链.mdx
after generate I got
import blog__python__pythonWithMdx from './blog__python__python with 函数链.mdx.json' assert { type: 'json' }
in _index.mjs
When I create two file named like python with 函数链.mdx and python with 函数.mdx error comes
import blog__python__pythonWithMdx from './blog__python__python with 函数链.mdx.json' assert { type: 'json' }
import blog__python__pythonWithMdx from './blog__python__python with 函数.mdx.json' assert { type: 'json' }
I check source code find question maybe in
|
dataVariableName: getDataVariableName({ docDef }), |
But I am new to ts, dont konw how to do
I'm usingContentlayer. My mdx file name contains chinexe
Such like
python with 函数链.mdxafter generate I got
import blog__python__pythonWithMdx from './blog__python__python with 函数链.mdx.json' assert { type: 'json' }in _index.mjs
When I create two file named like
python with 函数链.mdxandpython with 函数.mdxerror comesI check source code find question maybe in
contentlayer/packages/@contentlayer/core/src/generation/generate-dotpkg.ts
Line 322 in ad462a4
But I am new to ts, dont konw how to do