update flake, add frontend package
This commit is contained in:
parent
ded0293b13
commit
0d82e4444a
5 changed files with 57 additions and 18 deletions
|
@ -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
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue