more precise polyfill
This commit is contained in:
parent
193c77e51a
commit
d823f44558
@ -4,5 +4,9 @@ import { defineConfig } from 'vite';
|
||||
import { nodePolyfills } from 'vite-plugin-node-polyfills'
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [nodePolyfills(), enhancedImages(), sveltekit()]
|
||||
plugins: [nodePolyfills({
|
||||
globals: {
|
||||
Buffer: true,
|
||||
},
|
||||
}), enhancedImages(), sveltekit()]
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user