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

Demonstrating a problem using "marked": works fine when imported locally, but not when imported in a library

Notifications You must be signed in to change notification settings

LukeNotable/luke-marked-import-problem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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').

About

Demonstrating a problem using "marked": works fine when imported locally, but not when imported in a library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published