mirror of
https://git.vectorsigma.ru/public/photoview.git
synced 2026-08-03 20:59:03 +00:00
Update UI deps + replace create-react-app with vite
This commit is contained in:
11
ui/vite.config.js
Normal file
11
ui/vite.config.js
Normal 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,
|
||||
},
|
||||
})
|
||||
Reference in New Issue
Block a user