vite.config.ts (315 bytes)
1 import { defineConfig } from 'vite'; 2 3 export default defineConfig({ 4 build: { 5 target: 'es2022', 6 }, 7 server: { 8 // `cap sync` writes into android/. A watch there reloads the open app, 9 // and a folder that `cap sync` deletes can stop the dev server. 10 watch: { ignored: ['**/android/**'] }, 11 }, 12 });