diff --git a/vite.config.ts.react b/vite.config.ts.react new file mode 100644 index 0000000000..b33ded98fa --- /dev/null +++ b/vite.config.ts.react @@ -0,0 +1,21 @@ +import { defineConfig } from 'vite'; +import react from '@vitejs/plugin-react'; +import tsconfigPaths from 'vite-tsconfig-paths'; + +export default defineConfig({ + plugins: [tsconfigPaths(), react()], + server: { + port: 3000, + }, + build: { + assetsDir: '', + chunkSizeWarningLimit: 1500, + rollupOptions: { + output: { + // This will output a single bundle file + entryFileNames: 'bundle.js', + chunkFileNames: 'bundle.js' + } + }, + }, +});