Skip to content

Commit

Permalink
Fix exports field in package.json (#351)
Browse files Browse the repository at this point in the history
* Fix exports field in `package.json`

* Use exports syntax for both new and old versions of Node

---------

Co-authored-by: Mark Amery <markrobertamery@gmail.com>
  • Loading branch information
fisker and ExplodingCabbage committed Dec 18, 2023
1 parent e0e960a commit 976d60d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@
"require": "./lib/index.js"
},
"./package.json": "./package.json",
"./": "./"
"./": "./",
"./*": "./*"
},
"scripts": {
"clean": "rm -rf lib/ dist/",
Expand Down

0 comments on commit 976d60d

Please sign in to comment.