update new config to can dev as web and application desktop at same time
This commit is contained in:
parent
4032baa8ab
commit
edcccaaab9
10 changed files with 6831 additions and 63 deletions
15
client-electron/vite.config.web.ts
Normal file
15
client-electron/vite.config.web.ts
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
import { defineConfig } from 'vite'
|
||||
import react from '@vitejs/plugin-react'
|
||||
|
||||
// https://vitejs.dev/config/
|
||||
export default defineConfig({
|
||||
mode: 'web',
|
||||
envPrefix: 'TAOBIN_RECIPE_MANAGER_',
|
||||
plugins: [react()],
|
||||
build: {
|
||||
outDir: 'dist-web'
|
||||
},
|
||||
server: {
|
||||
port: 4200
|
||||
}
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue