Skip to content

Commit

Permalink
Make package.json part of the export map to improve tooling compatabi…
Browse files Browse the repository at this point in the history
…lity (nodeca#594)
  • Loading branch information
realityking authored Dec 5, 2020
1 parent 764c2e2 commit f0a5e01
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,11 @@
},
"module": "./dist/js-yaml.mjs",
"exports": {
"import": "./dist/js-yaml.mjs",
"require": "./index.js"
".": {
"import": "./dist/js-yaml.mjs",
"require": "./index.js"
},
"./package.json": "./package.json"
},
"scripts": {
"lint": "eslint .",
Expand Down

0 comments on commit f0a5e01

Please sign in to comment.