Skip to content

Commit

Permalink
updated exports, including relative sub-paths
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielJDufour committed Dec 6, 2022
1 parent b1a0552 commit 060a192
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,20 @@
"module": "index.mjs",
"types": "index.d.ts",
"exports": {
"require": "./index.js",
"import": "./index.mjs"
".": {
"require": "./index.js",
"import": "./index.mjs"
},
"./index": {
"require": "./index.js",
"import": "./index.mjs"
},
"./find-tag-by-name": "./find-tag-by-name.js",
"./find-tag-by-path": "./find-tag-by-path.js",
"./find-tags-by-name": "./find-tags-by-name.js",
"./find-tags-by-path": "./find-tags-by-path.js",
"./get-attribute": "./get-attribute.js",
"./remove-comments": "./remove-comments.js"
},
"files": [
"index.d.ts",
Expand Down

0 comments on commit 060a192

Please sign in to comment.