Do not polyfill buffer

This commit is contained in:
Dolan Miu
2023-07-18 21:06:35 +01:00
parent d94348f5ca
commit 9a9a2019f6

View File

@ -10,6 +10,9 @@ export default defineConfig({
dts(), dts(),
nodePolyfills({ nodePolyfills({
exclude: ["fs"], exclude: ["fs"],
globals: {
Buffer: false,
},
protocolImports: true, protocolImports: true,
}), }),
], ],