import { CapacitorConfig } from '@capacitor/cli'; const appId = 'app.ionic.io'; const appName = 'app'; const server = process.argv.includes('-hmr') ? { 'url': 'http://192.168.178.25:5173', // always have http:// in url 'cleartext': true } : {}; const webDir = 'build'; const config: CapacitorConfig = { appId, appName, webDir, server }; if (process.argv.includes('-hmr')) console.log('WARNING: running capacitor with livereload config', config); export default config;