view web/timeline/vite.config.ts @ 2450:a4052905ca7d default tip

notes about how rdfdb syncs, or should sync
author drewp@bigasterisk.com
date Mon, 03 Jun 2024 23:01:54 -0700
parents 4556eebe5d73
children
line wrap: on
line source

import { defineConfig } from "vite";

const servicePort = 8216;
export default defineConfig({
  base: "/timeline/",
  root: "./light9/web/timeline",
  publicDir: "../web",
  server: {
    host: "0.0.0.0",
    strictPort: true,
    port: servicePort + 100,
    hmr: {
      port: servicePort + 200,
    },
  },
  clearScreen: false,
  define: {
    global: {},
  },
});