diff --git a/package.json b/package.json index 2f78cf5c60..87068fa32b 100644 --- a/package.json +++ b/package.json @@ -17,6 +17,13 @@ "man/", "marked.min.js" ], + "exports": { + ".": { + "import": "./lib/marked.esm.js", + "default": "./lib/marked.js" + }, + "./package.json": "./package.json" + }, "repository": "git://github.com/markedjs/marked.git", "homepage": "https://marked.js.org", "bugs": {