Skip to content

Commit

Permalink
fix: fix exports
Browse files Browse the repository at this point in the history
  • Loading branch information
grantcodes committed Mar 19, 2024
1 parent e19b588 commit 40ceaed
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
"indieweb"
],
"type": "module",
"main": "dist/main.cjs",
"module": "dist/main.js",
"types": "dist/main.d.ts",
"main": "./dist/main.cjs",
"module": "./dist/main.js",
"types": "./dist/main.d.ts",
"exports": {
".": {
"require": "./dist/main.js",
"import": "./dist/main.mjs",
"require": "./dist/main.cjs",
"import": "./dist/main.js",
"types": "./dist/main.d.ts"
}
},
Expand Down
1 change: 1 addition & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -584,3 +584,4 @@ class Micropub {
}

export default Micropub
export { Micropub }

0 comments on commit 40ceaed

Please # to comment.