Skip to content

Commit

Permalink
fix(package): add exports in package.json (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
jy95 authored Mar 15, 2022
1 parent b9fb2b3 commit 81d03d9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@
"bin": "dist/cli.js",
"main": "dist/main.js",
"module": "dist/module.js",
"exports": {
".": {
"require": "./dist/main.js",
"import": "./dist/module.js"
}
},
"targets": {
"cli": {
"context": "node",
Expand Down

0 comments on commit 81d03d9

Please sign in to comment.