Skip to content

Commit

Permalink
use package.json exports
Browse files Browse the repository at this point in the history
  • Loading branch information
dmonad committed Nov 3, 2021
1 parent 8e546ba commit 5548c81
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@
"type": "GitHub Sponsors ❤",
"url": "https://github.com/sponsors/dmonad"
},
"exports": {
".": {
"import": "./src/y-codemirror.js",
"require": "./dist/y-codemirror.cjs"
},
"./package.json": "./package.json"
},
"files": [
"dist/*",
"src/*"
Expand Down

0 comments on commit 5548c81

Please sign in to comment.