update flake, add frontend package

This commit is contained in:
Vinzenz Schroeter 2025-09-26 00:14:47 +02:00
parent ded0293b13
commit 0d82e4444a
5 changed files with 57 additions and 18 deletions

View file

@ -3,12 +3,10 @@ import react from '@vitejs/plugin-react';
// https://vitejs.dev/config/
export default defineConfig(() => {
const isContainer = process.env.CONTAINERMODE;
return {
plugins: [react()],
build: {
outDir: isContainer ? undefined : '../tanks-backend/TanksServer/client',
emptyOutDir: true
}
};