Files
ox_lib/web/vite.config.mjs

20 lines
379 B
JavaScript
Raw Normal View History

2023-11-18 16:20:38 +01:00
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
import * as path from 'path';
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
base: './',
server: {
port: 3000,
},
build: {
outDir: 'build',
target: 'esnext',
},
esbuild: {
logOverride: { 'this-is-undefined-in-esm': 'silent' },
},
});