import { defineConfig } from "vite" import react from "@vitejs/plugin-react" import tailwindcss from "@tailwindcss/vite" import { fileURLToPath } from "node:url" // Consumer example of @hm-design/chart. The fonts come from the repository public folder like the publisher example. export default defineConfig({ root: fileURLToPath(new URL("./", import.meta.url)), publicDir: fileURLToPath(new URL("../../public", import.meta.url)), base: "./", plugins: [react(), tailwindcss()], server: { host: "127.0.0.1" }, })