Skip to content

Commit

Permalink
Revert the minify setting in vite.config.js which was mistakingly int…
Browse files Browse the repository at this point in the history
…roduced in #6261 (#7852)

* Revert the minify setting in vite.config.js which was mistakingly introduced in #6261

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
  • Loading branch information
whitphx and gradio-pr-bot committed Mar 27, 2024
1 parent ecf5c52 commit 72661e3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .changeset/eleven-states-tan.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@gradio/app": minor
"gradio": minor
---

feat:Revert the minify setting in vite.config.js which was mistakingly introduced in #6261
3 changes: 1 addition & 2 deletions js/app/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,7 @@ export default defineConfig(({ mode }) => {
build: {
sourcemap: true,
target: "esnext",
// minify: production,
minify: false,
minify: production,
outDir: is_lite ? resolve(__dirname, "../lite/dist") : targets[mode],
// To build Gradio-lite as a library, we can't use the library mode
// like `lib: is_lite && {}`
Expand Down

0 comments on commit 72661e3

Please sign in to comment.