From 04785ba0db7e997fcc1de9f87f8b2d360095f3b9 Mon Sep 17 00:00:00 2001 From: Justin Brower Date: Sat, 2 Mar 2024 14:02:22 -0500 Subject: [PATCH] update aliases to include node:buffer and node:stream --- packages/app/vite.config.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/app/vite.config.ts b/packages/app/vite.config.ts index 606af52..dbec791 100644 --- a/packages/app/vite.config.ts +++ b/packages/app/vite.config.ts @@ -14,6 +14,8 @@ export default { plugins: [commonjs(), react(), tsconfig()], resolve: { alias: { + "node:buffer": "buffer", + "node:stream": "stream-browserify", buffer: "buffer", process: "rollup-plugin-node-polyfills/polyfills/process-es6", util: "rollup-plugin-node-polyfills/polyfills/util",