Skip to content

Commit

Permalink
Update package.json to give module/require paths
Browse files Browse the repository at this point in the history
  • Loading branch information
ayjayt committed Jan 31, 2024
1 parent cb4e4a4 commit fd00700
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@
"lint": "make lint",
"test": "make test"
},
"module": "./mjs-lib/index.js",
"exports": {
"import": "./mjs-lib/index.js",
"require": "./lib/index.js"
},
"files": [
"index.js",
"index.d.ts",
Expand Down

0 comments on commit fd00700

Please sign in to comment.