build: fix build on FreeBSD (#3403)

- vite: use rollup/wasm-node
- use vitejs/plugin-react instead of plugin-react-swc
This commit is contained in:
jan666
2024-10-18 01:26:53 +02:00
committed by GitHub
parent 0232afd98d
commit 5f6a90e5aa
3 changed files with 2077 additions and 1852 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react-swc'
import react from '@vitejs/plugin-react'
import { VitePWA } from 'vite-plugin-pwa'
const frontendPort = parseInt(process.env.PORT) || 4533