Skip to content

armgit / TREK

Public Imported from GitHub
0

The most complete open-source travel planner: real-time collaboration, bookings, budgets, packing lists, journals, offline PWA, SSO and an AI-ready MCP server, with planet-wide place search and routing built in.

602 B
Raw Blame
import { defineConfig } from 'vite'
import { fileURLToPath } from 'url'

// The address screen the native apps ship (native-shell/). Everything past it
// is the UI of the server the user picks, so this build stays tiny and apart
// from the main one: no PWA, no React, only the native strings of each locale.
export default defineConfig({
  root: fileURLToPath(new URL('./native-shell', import.meta.url)),
  base: './',
  publicDir: false,
  build: {
    outDir: fileURLToPath(new URL('./native-dist', import.meta.url)),
    emptyOutDir: true,
    target: ['es2020', 'safari15', 'chrome100'],
  },
})