fork of hey-api/openapi-ts because I need some additional things
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at main 21 lines 437 B view raw
1import type { UserConfig } from 'vite'; 2import { defineConfig, mergeConfig } from 'vite'; 3 4export function createViteConfig(config: UserConfig = {}) { 5 const baseConfig = defineConfig({ 6 build: { 7 sourcemap: true, 8 target: 'esnext', 9 }, 10 esbuild: { 11 target: 'esnext', 12 }, 13 optimizeDeps: { 14 esbuildOptions: { 15 target: 'esnext', 16 }, 17 }, 18 }); 19 20 return mergeConfig(baseConfig, config); 21}