Skip to content

Commit

Permalink
Use a string as "exports" in package.json (#584)
Browse files Browse the repository at this point in the history
  • Loading branch information
VaiTon authored Jan 20, 2025
1 parent 5679099 commit 598d49a
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@
"bugs": {
"url": "/~https://github.com/openfoodfacts/openfoodfacts-nodejs/issues"
},
"exports": [
"./dist/main.js"
],
"exports": "./dist/main.js",
"types": "dist/main.d.ts",
"scripts": {
"prepack": "yarn run build",
Expand Down Expand Up @@ -66,4 +64,4 @@
"typescript-eslint": "^8.12.2"
},
"packageManager": "yarn@4.5.1"
}
}

0 comments on commit 598d49a

Please sign in to comment.