mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-12-01 03:02:28 +03:00
chore(api): add package.json
to the exports
field (#1807)
* chore(api): add `package.json` to the `exports` field * move exports to package.json
This commit is contained in:
parent
0b87532706
commit
ab1ea96478
5
.changes/api-export-package-json.md
Normal file
5
.changes/api-export-package-json.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
"api": patch
|
||||
---
|
||||
|
||||
Adds `package.json` to the `exports` object.
|
@ -7,6 +7,9 @@
|
||||
"type": "opencollective",
|
||||
"url": "https://opencollective.com/tauri"
|
||||
},
|
||||
"exports": {
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "rimraf ./dist && rollup -c --silent && node ./scripts/after-build.cjs",
|
||||
"npm-pack": "yarn build && cd ./dist && npm pack",
|
||||
|
Loading…
Reference in New Issue
Block a user