fix @gradio/sanitize exports (#9746)

* fix pkg.json

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
This commit is contained in:
pngwn 2024-10-17 18:37:49 +01:00 committed by GitHub
parent 2ec2eb1412
commit 5015abbd78
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 15 additions and 5 deletions

View File

@ -0,0 +1,6 @@
---
"@gradio/sanitize": patch
"gradio": patch
---
feat:fix `@gradio/sanitize` exports

View File

@ -22,11 +22,15 @@
"exports": {
".": {
"types": "./dist/index.d.ts",
"browser": "./dist/browser.js",
"import": "./dist/server.js",
"default": "./dist/server.js"
},
"./package.json": "./package.json"
"browser": {
"development": "./browser.ts",
"default": "./dist/browser.js"
},
"default": {
"development": "./server.ts",
"default": "./dist/server.js"
}
}
},
"scripts": {
"package": "svelte-package --input=. --cwd=../../.config/"