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": { "scripts": {
"build": "vite build", "build": "vite build",
"dev": "vite build --watch" "dev": "vite build --watch --mode=dev"
}, },
"dependencies": { "dependencies": {
"@budibase/bbui": "*", "@budibase/bbui": "*",

View File

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