Merge pull request #5019 from dimaMachina/patch-2
add `"./package.json": "./package.json",` in `exports` field in `package.json`
This commit is contained in:
5
.changeset/few-rice-drive.md
Normal file
5
.changeset/few-rice-drive.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@xyflow/svelte": patch
|
||||
---
|
||||
|
||||
Add `"./package.json" to the `exports` field so that users can import it
|
||||
@@ -34,6 +34,7 @@
|
||||
"type": "module",
|
||||
"module": "./dist/lib/index.js",
|
||||
"exports": {
|
||||
"./package.json": "./package.json",
|
||||
".": {
|
||||
"types": "./dist/lib/index.d.ts",
|
||||
"svelte": "./dist/lib/index.js",
|
||||
|
||||
Reference in New Issue
Block a user