Don't minify client on dev mode
This commit is contained in:
parent
292f46226f
commit
1d467a168b
|
@ -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": "*",
|
||||||
|
|
|
@ -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({
|
||||||
|
|
Loading…
Reference in New Issue