import { defineConfig } from 'vite'; import react from '@vitejs/plugin-react'; import dynamicImport from 'vite-plugin-dynamic-import'; import path from 'path'; import { fileURLToPath } from 'url'; // https://vitejs.dev/config/ export default defineConfig({ base: 'https://marketplace.snai3i.org', plugins: [react(), dynamicImport()], resolve: { alias: { '@': path.resolve(path.dirname(fileURLToPath(import.meta.url)), 'src'), }, }, server: { port: 5173, }, });