We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a8bbc4 commit 3e27d8eCopy full SHA for 3e27d8e
index.js
@@ -194,9 +194,10 @@ function element(node, context) {
194
195
function mdxjsEsm(node, context) {
196
var estree = node.data && node.data.estree
197
+ var comments = (estree && estree.comments) || []
198
199
if (estree) {
- push.apply(context.comments, estree.comments)
200
+ push.apply(context.comments, comments)
201
attachComments(estree, estree.comments)
202
push.apply(context.esm, estree.body)
203
}
0 commit comments