mirror of
				https://github.com/gpxstudio/gpx.studio.git
				synced 2025-11-04 05:21:09 +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