Update UI deps + replace create-react-app with vite

This commit is contained in:
viktorstrate
2022-07-08 00:33:35 +02:00
parent a5d152f0c0
commit fdcf0cfd05
28 changed files with 14413 additions and 22269 deletions

11
ui/vite.config.js Normal file
View File

@@ -0,0 +1,11 @@
import { defineConfig } from 'vite'
import svgr from 'vite-plugin-svgr'
import react from '@vitejs/plugin-react'
export default defineConfig({
plugins: [react(), svgr()],
envPrefix: ['VITE_', 'REACT_APP_'],
server: {
port: 1234,
},
})