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.

636 B
Raw Blame
import { defineConfig } from 'tsdown';

export default defineConfig({
  // Root barrel + i18n metadata barrel + one entry per locale (lazy-load chunks),
  // plus the DOMPurify sanitisers, kept out of the root (src/sanitize/sanitize.ts), and the
  // sticker library, whose drawings only the Studio and the book engine's callers load
  entry: [
    'src/index.ts',
    'src/roadtrip/planning.ts',
    'src/sanitize/sanitize.ts',
    'src/book/stickers/index.ts',
    'src/i18n/index.ts',
    'src/i18n/*/index.ts',
  ],
  format: ['cjs', 'esm'],
  dts: true,
  clean: true,
  deps: {
    neverBundle: ['zod'],
  },
  target: false,
});