Merge pull request #5019 from dimaMachina/patch-2
add `"./package.json": "./package.json",` in `exports` field in `package.json`
This commit is contained in:
@@ -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",
|
"type": "module",
|
||||||
"module": "./dist/lib/index.js",
|
"module": "./dist/lib/index.js",
|
||||||
"exports": {
|
"exports": {
|
||||||
|
"./package.json": "./package.json",
|
||||||
".": {
|
".": {
|
||||||
"types": "./dist/lib/index.d.ts",
|
"types": "./dist/lib/index.d.ts",
|
||||||
"svelte": "./dist/lib/index.js",
|
"svelte": "./dist/lib/index.js",
|
||||||
|
|||||||
Reference in New Issue
Block a user