fork of hey-api/openapi-ts because I need some additional things
1import react from '@vitejs/plugin-react';
2
3/** @type {import('vite').UserConfig} */
4export default {
5 build: {
6 sourcemap: true,
7 target: 'esnext',
8 },
9 esbuild: {
10 target: 'esnext',
11 },
12 optimizeDeps: {
13 esbuildOptions: {
14 target: 'esnext',
15 },
16 },
17 plugins: [react()],
18};