Mercurial > code > home > repos > light-bridge
view vite.config.ts @ 17:1d15dc4d673f
cleanup color convert code path
author | drewp@bigasterisk.com |
---|---|
date | Sun, 28 Jan 2024 21:18:40 -0800 |
parents | 5a77696c6dab |
children |
line wrap: on
line source
import { defineConfig } from "vite"; export default defineConfig({ root: "src", base: "/light-bridge/", server: { host: "0.0.0.0", strictPort: true, hmr: { path: "vite-ws" }, fs: { allow: [ // these are relative to config.root which is ./src/ ".", "../node_modules", ], }, }, build: { assetsDir: "src", target: "esnext", lib: { entry: "src/main.ts", formats: ["es"], }, }, define: { global: {}, }, });