Files
gpx.studio/website/vite.config.ts

17 lines
410 B
TypeScript
Raw Normal View History

2024-04-03 16:13:42 +02:00
import { sveltekit } from '@sveltejs/kit/vite';
2024-07-05 17:13:19 +02:00
import { enhancedImages } from '@sveltejs/enhanced-img';
2024-04-03 16:13:42 +02:00
import { defineConfig } from 'vite';
import { nodePolyfills } from 'vite-plugin-node-polyfills';
2024-04-03 16:13:42 +02:00
export default defineConfig({
plugins: [
nodePolyfills({
globals: {
Buffer: true,
},
}),
enhancedImages(),
sveltekit(),
],
2024-04-03 16:13:42 +02:00
});