fix: tauri build

This commit is contained in:
2023-08-04 00:29:14 +02:00
parent 42922e7ce0
commit 220c8cbe67
3 changed files with 476 additions and 3 deletions

View File

@@ -12,6 +12,9 @@ export default defineConfig({
build: {
// we rely on the serial api, so just chrome is fine
target: ["chrome114", "safari16"],
rollupOptions: {
external: isTauri ? [/virtual:pwa.*/] : [],
},
},
envPrefix: "TAURI_",
plugins: [