Files
gpx.studio/website/vite.config.ts
2025-02-02 11:17:22 +01:00

17 lines
410 B
TypeScript

import { sveltekit } from '@sveltejs/kit/vite';
import { enhancedImages } from '@sveltejs/enhanced-img';
import { defineConfig } from 'vite';
import { nodePolyfills } from 'vite-plugin-node-polyfills';
export default defineConfig({
plugins: [
nodePolyfills({
globals: {
Buffer: true,
},
}),
enhancedImages(),
sveltekit(),
],
});