Fix buffer injection

This commit is contained in:
Ajay Bura 2023-01-29 18:40:13 +05:30
parent 7c1d5c196b
commit 1754035fd9

View file

@ -60,7 +60,7 @@ export default defineConfig({
copyPublicDir: false,
rollupOptions: {
plugins: [
inject({ Buffer: ['Buffer', 'Buffer'] })
inject({ Buffer: ['buffer', 'Buffer'] })
]
}
},