Open dhia-gharsallaoui opened 9 months ago
same here
Cause: Unexpected `FunctionDeclaration` in code: only import/exports are supported
Details:
{
"column": 1,
"message": "Unexpected `FunctionDeclaration` in code: only import/exports are supported",
"line": 48,
"name": "48:1-123:2",
"place": {
"start": {
"line": 48,
"column": 1,
"offset": 1298
},
"end": {
"line": 123,
"column": 2,
"offset": 7515
}
},
"reason": "Unexpected `FunctionDeclaration` in code: only import/exports are supported",
"ruleId": "non-esm",
"source": "micromark-extension-mdxjs-esm",
"url": "https://github.com/micromark/micromark-extension-mdxjs-esm#unexpected-type-in-code-only-importexports-are-supported"
}
Please share generated md if possible
Hello, I am trying to setup docusaurus-protobuffet to my docusaurus website.
After adding the docusaurus-protobuffet config to my
docusaurus.config.js
fileI got this error for all generated and old files even the .md file.