Files
gpx.studio/website/vite.config.ts
2024-10-08 12:39:00 +02:00

13 lines
361 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()]
});