Steps to reproduce:
npm install
npm run dev
=> everything worksnpm run preview
=> Open the browser, and you will getBuffer is not defined
error on the console.
A reproduction of an issue of vite (esbuild) with Buffer polyfill
Steps to reproduce:
npm install
npm run dev
=> everything worksnpm run preview
=> Open the browser, and you will get Buffer is not defined
error on the console.A reproduction of an issue of vite (esbuild) with Buffer polyfill