Skip to content
This repository has been archived by the owner on Feb 9, 2024. It is now read-only.

Latest commit

 

History

History
8 lines (5 loc) · 645 Bytes

README.md

File metadata and controls

8 lines (5 loc) · 645 Bytes

luke-marked-import-problem

Demonstrating a problem using marked through a library. This is a simple create-react-app to reproduce the problem, with an app (my-app) using a library (my-lib).

Within my-app, run yarn && yarn start. This tests using marked locally (within my-app) and through a library (in my-lib). The results are displayed in the web page:

image

That is, it fails only when imported through a library, with TypeError: Cannot read properties of undefined (reading 'parse').