import { defineConfig } from 'vite'; import solidPlugin from 'vite-plugin-solid'; import devtools from 'solid-devtools/vite'; export default defineConfig({ plugins: [ solidPlugin(), devtools({ // Will automatically add names when creating signals, memos, stores, or mutables name: true, }), ], server: { hmr: { clientPort: parseInt(process.env.CLIENT_PORT || '5173'), }, }, build: { target: 'esnext', }, });