fix: add back main, module and types field in top-level package.json (#742)

closes #738

`"moduleResolution": "node"` doesn't handle the `exports` field

Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/6931144176

Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
This commit is contained in:
Amr Bashir
2023-11-20 14:01:58 +00:00
committed by tauri-bot
parent e16f36abbc
commit e1432fb81c

View File

@@ -6,6 +6,9 @@
"Tauri Programme within The Commons Conservancy"
],
"type": "module",
"types": "./dist-js/index.d.ts",
"main": "./dist-js/index.cjs",
"module": "./dist-js/index.js",
"exports": {
"types": "./dist-js/index.d.ts",
"import": "./dist-js/index.js",