Skip to content

Commit ab1ea96

Browse files
authored
chore(api): add package.json to the exports field (#1807)
* chore(api): add `package.json` to the `exports` field * move exports to package.json
1 parent 0b87532 commit ab1ea96

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"api": patch
3+
---
4+
5+
Adds `package.json` to the `exports` object.

tooling/api/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
"type": "opencollective",
88
"url": "https://opencollective.com/tauri"
99
},
10+
"exports": {
11+
"./package.json": "./package.json"
12+
},
1013
"scripts": {
1114
"build": "rimraf ./dist && rollup -c --silent && node ./scripts/after-build.cjs",
1215
"npm-pack": "yarn build && cd ./dist && npm pack",

0 commit comments

Comments
 (0)