Fix js client bundle (#8477)

* fix param name

* format

* fix build

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
This commit is contained in:
pngwn 2024-06-06 13:39:22 +01:00 committed by GitHub
parent 9d2d6051ca
commit d5a9604930
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 13 additions and 1 deletions

View File

@ -0,0 +1,6 @@
---
"@gradio/client": patch
"gradio": patch
---
fix:Fix js client bundle

View File

@ -33,7 +33,13 @@ export default defineConfig(({ mode }) => {
ssr: {
target: "node",
format: "esm",
noExternal: ["ws", "semiver", "bufferutil", "@gradio/upload"]
noExternal: [
"ws",
"semiver",
"bufferutil",
"@gradio/upload",
"fetch-event-stream"
]
}
};
});