Skip to content

Getting "This is not a web-friendly file type" when trying to bundle micromark with esbuild and use in a browser #66

Answered by wooorm
talentlessguy asked this question in Q&A
Discussion options

You must be logged in to vote
  • This seems like a skypack error to me: millions of users are using micromark and parse-entities fine. For what its worth, the skypack authors are also using micromark in several projects. So it might be solved by configuration: to allow JSON to be imported
  • The module field is non-standard. It could be that skypack depends on it, but it shouldn’t
  • Note that I’m in the process of updating everything to ESM. The character-entities and parse-entities you see have already been updated, but micromark hasn’t, so be wary of that you might see code which isn’t used yet

Replies: 1 comment 14 replies

Comment options

You must be logged in to vote
14 replies
@wooorm
Comment options

@wooorm
Comment options

@talentlessguy
Comment options

@wooorm
Comment options

@talentlessguy
Comment options

Answer selected by talentlessguy
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