15 lines
287 B
TypeScript
15 lines
287 B
TypeScript
import { sveltekit } from '@sveltejs/kit/vite';
|
|
import { defineConfig } from 'vite';
|
|
|
|
export default defineConfig({
|
|
optimizeDeps: {
|
|
esbuildOptions: {
|
|
target: 'esnext'
|
|
}
|
|
},
|
|
build: {
|
|
target: 'esnext' //browsers can handle the latest ES features
|
|
},
|
|
plugins: [sveltekit()]
|
|
});
|