Skip to content

Commit

Permalink
fix: add marked.min.js to package exports (#3035)
Browse files Browse the repository at this point in the history
fix: add marked.min.js to export conditions

This change adds the minified js to the package's export
conditions.  This will allow projects using PnP to have access
to the script during build time.
  • Loading branch information
michaelfaith committed Oct 11, 2023
1 parent 3aa1742 commit 71fc094
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"default": "./lib/marked.cjs"
},
"./bin/marked": "./bin/marked.js",
"./marked.min.js": "./marked.min.js",
"./package.json": "./package.json"
},
"repository": "git://github.com/markedjs/marked.git",
Expand Down

1 comment on commit 71fc094

@vercel
Copy link

@vercel vercel bot commented on 71fc094 Oct 11, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.