diff web/vite.config.ts @ 2395:ef3cde3e81e8

switch collector output from json to avro (still over WS)
author drewp@bigasterisk.com
date Thu, 16 May 2024 15:03:50 -0700
parents 4556eebe5d73
children
line wrap: on
line diff
--- a/web/vite.config.ts	Tue May 14 14:46:56 2024 -0700
+++ b/web/vite.config.ts	Thu May 16 15:03:50 2024 -0700
@@ -1,4 +1,5 @@
 import { defineConfig } from "vite";
+import { nodePolyfills } from "vite-plugin-node-polyfills";
 
 export default defineConfig({
   base: "/",
@@ -16,4 +17,5 @@
   define: {
     global: {},
   },
+  plugins: [nodePolyfills()],
 });