view web/vite.config.ts @ 2398:87de3fada483

dead code
author drewp@bigasterisk.com
date Thu, 16 May 2024 16:13:18 -0700
parents ef3cde3e81e8
children
line wrap: on
line source

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()],
});