fix exports in main (#9478)

* fix exports

* add changeset

* format

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
This commit is contained in:
Abubakar Abid 2024-09-30 08:22:19 -07:00 committed by GitHub
parent 98cbcaef82
commit 00d18463ff
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,5 @@
---
"@gradio/preview": patch
---
feat:fix exports in `main`

View File

@ -43,6 +43,8 @@
},
"exports": {
".": {
"default": "./dist/index.js",
"import": "./dist/index.js",
"gradio": "./src/index.ts",
"svelte": "./dist/src/index.js",
"types": "./dist/index.d.ts"