mirror of
https://github.com/gradio-app/gradio.git
synced 2025-04-06 12:30:29 +08:00
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:
parent
9d2d6051ca
commit
d5a9604930
6
.changeset/clever-windows-swim.md
Normal file
6
.changeset/clever-windows-swim.md
Normal file
@ -0,0 +1,6 @@
|
||||
---
|
||||
"@gradio/client": patch
|
||||
"gradio": patch
|
||||
---
|
||||
|
||||
fix:Fix js client bundle
|
@ -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"
|
||||
]
|
||||
}
|
||||
};
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user