Skip to content

Commit

Permalink
fix build (#6112)
Browse files Browse the repository at this point in the history
* fix build

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
  • Loading branch information
pngwn and gradio-pr-bot committed Oct 26, 2023
1 parent 9a40de7 commit e402bf0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/tame-spies-attend.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@gradio/preview": minor
---

feat:fix build
2 changes: 2 additions & 0 deletions js/preview/src/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ export async function make_build({
for (const [entry, path] of exports) {
try {
const x = await build({
root: source_dir,
configFile: false,
plugins: [
...plugins,
make_gradio_plugin({ mode: "build", svelte_dir })
Expand Down

0 comments on commit e402bf0

Please sign in to comment.