Created
September 3, 2023 08:28
-
-
Save YonatanKra/3baa6d3b2321ea31645225c7e1787d79 to your computer and use it in GitHub Desktop.
Tauri-demo vite config with tests
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { defineConfig } from "vite"; | |
export default defineConfig(async () => ({ | |
clearScreen: false, | |
server: { | |
port: 1420, | |
strictPort: true, | |
}, | |
envPrefix: ["VITE_", "TAURI_"], | |
test: { | |
globals: true, | |
environment: "jsdom", | |
}, | |
})); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment