mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2025-08-30 23:30:04 +00:00
more precise polyfill
This commit is contained in:
@@ -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