Mercurial > code > home > repos > light9
view light9/fade/vite.config.ts @ 2229:d193689223fb
clean up vitejs warnings for fade. this is now the model vite.config.ts
author | drewp@bigasterisk.com |
---|---|
date | Wed, 24 May 2023 11:27:54 -0700 |
parents | light9/fade/web/vite.config.ts@1ef921880e37 |
children |
line wrap: on
line source
import { defineConfig } from "vite"; const servicePort = 8219; export default defineConfig({ base: "/fade/", root: "./light9/fade/", publicDir: "../..", server: { host: "0.0.0.0", base: "/fade/", strictPort: true, port: servicePort + 100, hmr: { port: servicePort + 200, }, }, clearScreen: false, define: { global: {}, }, });