Skip to content
Discussion options

You must be logged in to vote

I managed to make this work by doing the following:

I moved all my Markdoc tags and nodes form individual files + index.js into two single files: nodes.js and tags.js with a export default on each one. This fixes the problem. (You'd still need to start NextJS with the import in place)

I don't know why this would fix the problem and if this is a Webpack, NextJS or Markdoc issue, and I don't know why it affects some libraries like HeadlessUI but not Popper, but using single Markdoc files fixes the issue.

Replies: 4 comments 9 replies

Comment options

You must be logged in to vote
2 replies
@mfix-stripe
Comment options

@mfix-stripe
Comment options

Comment options

You must be logged in to vote
7 replies
@mfix-stripe
Comment options

@khash
Comment options

@mfix-stripe
Comment options

@mfix-stripe
Comment options

@khash
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by khash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants