Files @ 69ca2b2fc133
Branch filter:

Location: light9/web/vite.config.ts

drewp@bigasterisk.com
overcomplicated attempt at persisting the pane layout in the rdf graph

this was hard because we have to somehow wait for the graph to load before config'ing the panes
import { defineConfig } from "vite";
import { nodePolyfills } from "vite-plugin-node-polyfills";

export default defineConfig({
  base: "/",
  root: "./web",
  publicDir: "../node_modules",
  server: {
    host: "0.0.0.0",
    strictPort: true,
    port: 8300,
    hmr: {
      port: 8301,
    },
  },
  clearScreen: false,
  define: {
    global: {},
  },
  plugins: [nodePolyfills()],
});