Don't minify client on dev mode

This commit is contained in:
Adria Navarro 2024-12-11 15:09:20 +01:00
parent 292f46226f
commit 1d467a168b
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@
},
"scripts": {
"build": "vite build",
"dev": "vite build --watch"
"dev": "vite build --watch --mode=dev"
},
"dependencies": {
"@budibase/bbui": "*",

View File

@ -25,8 +25,8 @@ export default defineConfig(({ mode }) => {
outDir: "dist",
name: "budibase_client",
fileName: () => "budibase-client.js",
minify: isProduction,
},
minify: isProduction,
},
plugins: [
svelte({