mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2026-10-17 08:42:28 +00:00
more precise polyfill
This commit is contained in:
1 parent
193c77e51a
commit
d823f44558
1 file changed
+5
-1
@@ -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()]
|
||||
});
|
||||
Reference in new issue
Block a user