Skip to content

Commit

Permalink
update aliases to include node:buffer and node:stream
Browse files Browse the repository at this point in the history
  • Loading branch information
jbrower95 committed Mar 2, 2024
1 parent c4ac8b2 commit 04785ba
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/app/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 04785ba

Please sign in to comment.