Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Set commonJS code as main in package.json #2276

Merged
merged 1 commit into from
Nov 11, 2021
Merged

fix: Set commonJS code as main in package.json #2276

merged 1 commit into from
Nov 11, 2021

Commits on Nov 10, 2021

  1. fix: Set commonJS code as main in package.json

    Change `main` to point to `./lib/marked.cjs` instead of
    `./lib/marked.esm.js` for compatibility with 'other' loaders (eg jest)
    in a non-ES module environment.
    
    Signed-off-by: Chris. Webster <[email protected]>
    webstech committed Nov 10, 2021
    Configuration menu
    Copy the full SHA
    1bd27c6 View commit details
    Browse the repository at this point in the history