mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-01-31 00:35:19 +01:00
style: fix Vite and React branding (#12768)
This commit is contained in:
@@ -8,7 +8,7 @@ import { svelte } from '@sveltejs/vite-plugin-svelte'
|
||||
|
||||
const host = process.env.TAURI_DEV_HOST
|
||||
|
||||
// https://vitejs.dev/config/
|
||||
// https://vite.dev/config/
|
||||
export default defineConfig({
|
||||
plugins: [Unocss(), svelte()],
|
||||
build: {
|
||||
@@ -23,7 +23,7 @@ export default defineConfig({
|
||||
},
|
||||
|
||||
// Vite options tailored for Tauri development and only applied in `tauri dev` or `tauri build`
|
||||
// prevent vite from obscuring rust errors
|
||||
// prevent Vite from obscuring rust errors
|
||||
clearScreen: false,
|
||||
// tauri expects a fixed port, fail if that port is not available
|
||||
server: {
|
||||
|
||||
Reference in New Issue
Block a user